aliases.zsh 494 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
alias ...='cd ../..'
7
alias -- -='cd -'
8

9
10
11
12
13
# Prevent headaches
alias cp='cp -v'
alias rm='rm -v'
alias mv='mv -v'

To1ne's avatar
To1ne committed
14
# Super user
15
alias _='sudo'
16
alias please='sudo'
17

Geoff Garside's avatar
Geoff Garside committed
18
#alias g='grep -in'
19

To1ne's avatar
To1ne committed
20
# Show history
21
22
alias history='fc -l 1'

To1ne's avatar
To1ne committed
23
# List direcory contents
24
alias lsa='ls -lah'
25
26
27
alias l='ls -lah'
alias ll='ls -lh'
alias la='ls -lAh'
28
alias sl=ls # often screw this up
29

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