diff --git a/.aliases b/.aliases index 9ec0914..56af7e8 100644 --- a/.aliases +++ b/.aliases @@ -5,6 +5,18 @@ alias ....='cd ../../..' alias .....='cd ../../../..' alias -- -='cd -' +# bat > cat +alias cat='bat' + +# prettyping +alias ping='prettyping --nolegend' + +# ncdu +alias ncdu='ncdu --color dark -rr -x --exclude .git --exclude node_modules' + +# fzf preview (also using bat) +alias preview="fzf --preview 'bat --color \"always\" {}'" + # Kubernetes alias k='kubectl' alias ksys='kubectl -n kube-system' diff --git a/.brew b/.brew index 221deca..6f55148 100755 --- a/.brew +++ b/.brew @@ -18,9 +18,13 @@ echo '--> Install libraries and applications' # terminal brew cask install iterm2 brew install bash +brew install bat brew install ffmpeg +brew install fzf brew install rs/tap/jaggr brew install rs/tap/jplot +brew install prettyping +brew install ncdu brew install tmux brew install reattach-to-user-namespace brew install vim diff --git a/.exports b/.exports index 8ea5613..dd11b23 100644 --- a/.exports +++ b/.exports @@ -7,3 +7,6 @@ export CODEPATH="/Applications/Visual Studio Code.app/Contents/Resources/app/bin # PATH export PATH="$PATH:$GOBIN:$CODEPATH" + +# add support for ctrl+o to open selected file in VS Code +export FZF_DEFAULT_OPTS="--bind='ctrl-o:execute(code {})+abort'"