-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
aliases.symlink
31 lines (25 loc) · 912 Bytes
/
aliases.symlink
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# .aliases
# vim:syntax=sh
# Reload bash aliases
alias reload="source ~/.bash_profile"
# enable color support of ls and also add handy aliases
if [[ -x /QOpenSys/pkgs/bin/dircolors ]]; then
test -r ~/.dircolors && eval "$(/QOpenSys/pkgs/bin/dircolors -b ~/.dircolors)" || eval "$(/QOpenSys/pkgs/bin/dircolors -b)"
alias ls='/QOpenSys/pkgs/bin/ls --color=auto'
alias dir='/QOpenSys/pkgs/bin/dir --color=auto'
alias vdir='/QOpenSys/pkgs/bin/vdir --color=auto'
alias grep='/QOpenSys/pkgs/bin/grep --color=auto'
alias fgrep='/QOpenSys/pkgs/bin/fgrep --color=auto'
alias egrep='/QOpenSys/pkgs/bin/egrep --color=auto'
alias ncdu='ncdu --color dark'
fi
# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
# Directory Navigation
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias .....='cd ../../../..'
alias ......='cd ../../../../..'