forked from misc/zsh-config
Useful aliases added. Fixes #7.
This commit is contained in:
parent
e03ab6864c
commit
0c3d6c8d03
9
zsh/aliases/00-default.conf
Normal file
9
zsh/aliases/00-default.conf
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# Default aliases. They can be overriden by other files with higher
|
||||||
|
# index.
|
||||||
|
|
||||||
|
# Files navigation.
|
||||||
|
alias ls="ls --color"
|
||||||
|
alias sl="ls --color"
|
||||||
|
|
||||||
|
# Git.
|
||||||
|
alias got="git"
|
6
zsh/aliases/20-freebsd.conf
Normal file
6
zsh/aliases/20-freebsd.conf
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# Some good aliases for FreeBSD.
|
||||||
|
|
||||||
|
if [ "${OS/FreeBSD}" != "${OS}" ]; then
|
||||||
|
# Files navigation.
|
||||||
|
alias ls="ls -G"
|
||||||
|
fi
|
6
zsh/aliases/30-macos.conf
Normal file
6
zsh/aliases/30-macos.conf
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# Some good aliases for macOS.
|
||||||
|
|
||||||
|
if [ "${OS/DarwinD}" != "${OS}" ]; then
|
||||||
|
# Files navigation.
|
||||||
|
alias ls="ls -G"
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user