mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
common aliases
This commit is contained in:
parent
84ed805698
commit
a232c137d7
3 changed files with 16 additions and 3 deletions
13
aliases
Normal file
13
aliases
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
## .aliases
|
||||
|
||||
case "$(uname)" in
|
||||
"Darwin")
|
||||
alias top="top -o cpu -s 5"
|
||||
;;
|
||||
"Linux")
|
||||
alias ls="ls --color"
|
||||
;;
|
||||
esac
|
||||
|
||||
alias ll="ls -l"
|
||||
|
||||
4
bashrc
4
bashrc
|
|
@ -15,7 +15,5 @@ shopt -s cdspell
|
|||
# turn off bells
|
||||
set bell-style none
|
||||
|
||||
#alias ls="ls --color"
|
||||
alias ll="ls -l"
|
||||
alias top="top -o cpu -s 5"
|
||||
source ~/.aliases
|
||||
|
||||
|
|
|
|||
2
zshrc
2
zshrc
|
|
@ -34,3 +34,5 @@ zstyle ':completion:*' verbose true
|
|||
zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31'
|
||||
zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
|
||||
|
||||
source ~/.aliases
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue