Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
c9f2c947
Commit
c9f2c947
authored
Nov 29, 2013
by
Stefan Tatschner
Browse files
Added/modified some useful aliases.
parent
66a33b80
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/aliases.zsh
View file @
c9f2c947
...
...
@@ -6,6 +6,11 @@ alias po='popd'
alias
...
=
'cd ../..'
alias
--
-
=
'cd -'
# Prevent headaches
alias cp
=
'cp -v'
alias rm
=
'rm -v'
alias mv
=
'mv -v'
# Super user
alias
_
=
'sudo'
alias
please
=
'sudo'
...
...
@@ -17,9 +22,9 @@ alias history='fc -l 1'
# List direcory contents
alias
lsa
=
'ls -lah'
alias
l
=
'ls -la'
alias
ll
=
'ls -l'
alias
la
=
'ls -lA'
alias
l
=
'ls -la
h
'
alias
ll
=
'ls -l
h
'
alias
la
=
'ls -lA
h
'
alias
sl
=
ls
# often screw this up
alias
afind
=
'ack-grep -il'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment