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
Oh My Zsh
Commits
9bd9278b
Commit
9bd9278b
authored
Mar 08, 2014
by
Robby Russell
Browse files
Merge pull request #2287 from rumpelsepp/master
Added/modified some useful aliases.
parents
7a14ab7f
c9f2c947
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/aliases.zsh
View file @
9bd9278b
...
@@ -6,6 +6,11 @@ alias po='popd'
...
@@ -6,6 +6,11 @@ alias po='popd'
alias
...
=
'cd ../..'
alias
...
=
'cd ../..'
alias
--
-
=
'cd -'
alias
--
-
=
'cd -'
# Prevent headaches
alias cp
=
'cp -v'
alias rm
=
'rm -v'
alias mv
=
'mv -v'
# Super user
# Super user
alias
_
=
'sudo'
alias
_
=
'sudo'
alias
please
=
'sudo'
alias
please
=
'sudo'
...
@@ -27,9 +32,9 @@ else
...
@@ -27,9 +32,9 @@ else
fi
fi
# List direcory contents
# List direcory contents
alias
lsa
=
'ls -lah'
alias
lsa
=
'ls -lah'
alias
l
=
'ls -la'
alias
l
=
'ls -la
h
'
alias
ll
=
'ls -l'
alias
ll
=
'ls -l
h
'
alias
la
=
'ls -lA'
alias
la
=
'ls -lA
h
'
alias
sl
=
ls
# often screw this up
alias
sl
=
ls
# often screw this up
alias
afind
=
'ack-grep -il'
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