aliases.zsh 394 Bytes
Newer Older
To1ne's avatar
To1ne committed
1
# Push and pop directories on directory stack
2
3
alias pu='pushd'
alias po='popd'
4

To1ne's avatar
To1ne committed
5
# Basic directory operations
6
7
alias .='pwd'
alias ...='cd ../..'
8
alias -- -='cd -'
9

To1ne's avatar
To1ne committed
10
# Super user
11
12
alias _='sudo'

Geoff Garside's avatar
Geoff Garside committed
13
#alias g='grep -in'
14

To1ne's avatar
To1ne committed
15
# Show history
16
17
alias history='fc -l 1'

To1ne's avatar
To1ne committed
18
# List direcory contents
19
alias lsa='ls -lah'
To1ne's avatar
To1ne committed
20
alias l='ls -la'
21
alias ll='ls -l'
22
alias sl=ls # often screw this up
23

Gerhard Lazu's avatar
Gerhard Lazu committed
24
alias afind='ack-grep -il'