added aliase to set and unset checking tracked files

pull/384/head
Amanuel Nega_ 2014-12-16 10:36:36 +03:00
parent 2c56334875
commit e21aaa8ae9
1 changed files with 7 additions and 0 deletions

View File

@ -23,6 +23,13 @@ export GIT_EDITOR='/usr/bin/mate -w'
# Set the path nginx
export NGINX_PATH='/opt/nginx'
# Set ignoring untracked files to true
export DISABLE_UNTRACKED_FILES_DIRTY=false
function set_disable_untracked_files() { export DISABLE_UNTRACKED_FILES_DIRTY=$@; };
alias disable_untracked_files="export DISABLE_UNTRACKED_FILES_DIRTY=false"
alias enable_untracked_files="export DISABLE_UNTRACKED_FILES_DIRTY=true"
# Don't check mail when opening terminal.
unset MAILCHECK