Skip to content

Instantly share code, notes, and snippets.

@mayelespino
Last active May 17, 2019 17:45
Show Gist options
  • Save mayelespino/04f62ed60471464c49a4a977f8623ea0 to your computer and use it in GitHub Desktop.
Save mayelespino/04f62ed60471464c49a4a977f8623ea0 to your computer and use it in GitHub Desktop.
bash_profile
alias l='ls -F'
alias ll='ls -alF'
alias c='clear'
alias L='ls -F | grep /'
alias d='pushd .'
alias D='dirs -l -v | grep -v 0'
alias gh='hostrory | grep '
alias push='git push'
alias pull='git pull'
alias commit='git commit -am '
#
#
export PS1='\[\e[33m\][$?|\t|\w]\[\e[0m\]\n>'
export CDPATH=.:
export editor=vi
# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth
# append to the history file, don't overwrite it
shopt -s histappend
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment