From bca251b16d86a6820799c80897271f9a1ff6bbaf Mon Sep 17 00:00:00 2001 From: Morgan Wattiez Date: Fri, 16 Aug 2019 18:01:12 +0200 Subject: [PATCH] add fuzzy finder, redo ping aliases --- Brewfile | 17 ++++++++++------- centos.sh | 4 ++++ dot_zsh_aliases | 3 +-- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/Brewfile b/Brewfile index f0d19c7..55eba8c 100644 --- a/Brewfile +++ b/Brewfile @@ -20,6 +20,14 @@ cask "firefox" # Fonts cask "font-meslo-for-powerline" +# Mac app store +mas 'Keynote', id: 409183694 +mas 'iMovie', id: 408981434 +mas 'Microsoft Remote Desktop', id: 1295203466 +mas 'Pages', id: 409201541 +mas 'GarageBand', id: 682658836 +mas 'Numbers', id: 409203825 + brew "zsh" brew "git-ftp" brew "gnu-sed" @@ -76,10 +84,5 @@ brew "dict" brew "prettyping" # Install glances for monitoring brew "glances" - -mas 'Keynote', id: 409183694 -mas 'iMovie', id: 408981434 -mas 'Microsoft Remote Desktop', id: 1295203466 -mas 'Pages', id: 409201541 -mas 'GarageBand', id: 682658836 -mas 'Numbers', id: 409203825 +# Fuzzy Finder +brew "fzf" diff --git a/centos.sh b/centos.sh index 0de7096..8450cfb 100644 --- a/centos.sh +++ b/centos.sh @@ -195,3 +195,7 @@ yum -y install dictd yum -y install prettyping # Glances + nmon for monitoring yum -y install nmon glances +# Install Fuzzy finder +git clone --depth 1 https://github.com/junegunn/fzf.git && cd fzf +yes | ./install +exec $SHELL diff --git a/dot_zsh_aliases b/dot_zsh_aliases index b116e0c..a95fd2a 100644 --- a/dot_zsh_aliases +++ b/dot_zsh_aliases @@ -76,8 +76,7 @@ alias du='du -ch' alias headers='curl -I --compress' # Find out if remote server supports gzip / mod_deflate or not # alias hist='history' alias path='echo -e ${PATH//:/\\n}' # Explode and display current PATH -alias ping='prettyping' -alias ping='ping -c 5' # Stop after sending count ECHO_REQUEST packets +alias ping='prettyping -c 5 --nolegend' # Stop after sending count ECHO_REQUEST packets alias p='ps -ef | grep -i ' # Show matching processes. Usage : p alias root='sudo -i' alias s=ls