Skip to content

Instantly share code, notes, and snippets.

@elhenro elhenro/bashrc
Created May 9, 2019

What would you like to do?
bash rc profile
# ~/.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_DIR/" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
export LANG
# default ide
export VISUAL=vim
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
You can’t perform that action at this time.