Moved some aliaes to correct file.

This commit is contained in:
Stefan Gaiselmann 2021-02-06 20:19:30 +01:00
parent 6524816618
commit f88ac53983
2 changed files with 7 additions and 10 deletions

View File

@ -20,6 +20,11 @@ alias lm='ls -al |more' # pipe through 'more'
alias l='ls -CF'
alias lsd='ls -l | grep "^d"' #list only directories
# dircolors
export LS_OPTIONS='--color=auto'
eval "$(dircolors -b)"
alias ls='ls $LS_OPTIONS'
# Use vim if available
if type vim >/dev/null 2>/devnull; then
alias vi=$(which vim)
@ -31,8 +36,8 @@ alias gg='git graph'
# tail alias
alias tailer="tail --follow=name --retry"
# git aliases
alias gg='git graph'
# grep processes
alias psg='ps -aux | grep -v grep | grep '
# aliases to own scripts
alias start-agent='start-agent.sh'

View File

@ -89,11 +89,3 @@ fi
# TODO: background colors...
# TODO: private history file for shared accounts
# TODO: vim
export LS_OPTIONS='--color=auto'
eval "$(dircolors -b)"
alias ls='ls $LS_OPTIONS'
alias psg='ps -aux | grep -v grep | grep '
PATH=$PATH:$HOME/bin