Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # ~/.bashrc
- #
- # Allow ctrl+shift+t to open in current directory for termite
- source /etc/profile.d/vte.sh
- # If not running interactively, don't do anything
- [[ $- != *i* ]] && return
- PS1='[\u@\h \W]\$ '
- # Aliases
- alias ls='ls --color=auto'
- alias gs='git status'
- alias ga='git add'
- alias gc='git commit'
- # Powerline
- powerline-daemon -q
- POWERLINE_BASH_CONTINUATION=1
- POWERLINE_BASH_SELECT=1
- . /usr/share/powerline/bindings/bash/powerline.sh
- # Golang
- export PATH=$PATH:/usr/local/go/bin
- export GOROOT=/usr/local/go
- export GOPATH=~/dev/cwn/go
- export PATH=$PATH:$GOPATH/bin
- # Set CWN Path
- export CWN_SOURCE_DIR=~/dev/cwn
- # Set Python at v2
- export PATH=~/bin:$PATH
- # protoc
- export PATH=$PATH:~/dev/cwn/third_party/protoc/linux
- # The next line updates PATH for the Google Cloud SDK.
- if [ -f '/usr/local/google-cloud-sdk/path.bash.inc' ]; then . '/usr/local/google-cloud-sdk/path.bash.inc'; fi
- # The next line enables shell command completion for gcloud.
- if [ -f '/usr/local/google-cloud-sdk/completion.bash.inc' ]; then . '/usr/local/google-cloud-sdk/completion.bash.inc'; fi
- # fzf go to directory
- fd() {
- local dir
- dir=$(find ${1:-.} -path '*/\.*' -prune \
- -o -type d -print 2> /dev/null | fzf +m) &&
- cd "$dir"
- }
- # fzf
- export FZF_DEFAULT_COMMAND='rg --hidden -l ""'
Add Comment
Please, Sign In to add comment