Skip to content

Commit

Permalink
Added some new toys: bat, ncdu, fzf and prettyping
Browse files Browse the repository at this point in the history
  • Loading branch information
eko committed Sep 1, 2018
1 parent 8dbfa6f commit 289b48a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .aliases
Expand Up @@ -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'
Expand Down
4 changes: 4 additions & 0 deletions .brew
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions .exports
Expand Up @@ -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'"

0 comments on commit 289b48a

Please sign in to comment.