Created
May 9, 2019 10:17
-
-
Save elhenro/c9ae54df2c43aacb56ac60951672825f to your computer and use it in GitHub Desktop.
bash rc profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.bashrc | |
# If not running interactively, don't do anything | |
[[ $- != *i* ]] && return | |
PS1='[\u@\h \W]\$ ' | |
# go | |
export PATH="$PATH:$HOME/go/bin" | |
# nvm | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | |
#locale | |
LANG="en_US.utf8" | |
export LANG | |
# default ide | |
export VISUAL=vim | |
export EDITOR="$VISUAL" | |
alias listopenports='netstat -lntu'; | |
[ -f ~/.fzf.bash ] && source ~/.fzf.bash | |
alias searchBashHistory='cat ~/.bash_history | fzf'; | |
alias clippy='xclip -selection clipboard'; | |
alias ls='ls --color=auto' | |
alias l='ls -lah --color=auto' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment