-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added sexy-bash-prompt for git
- Loading branch information
Cameron Gandevia
committed
Aug 20, 2013
1 parent
936bc72
commit 974d16b
Showing
3 changed files
with
96 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#### Aiases #### | ||
#alias ll='ls -l | grep -v -E ".pyc$|~$"' | ||
alias lx='ls -lXB' # sort by extension | ||
alias lk='ls -lSr' # sort by size | ||
alias lm='ls -alh |more' # pipe through 'more' | ||
alias lsd='ls -lh | grep "^d"' # list only directories | ||
alias lsl='ls -lh | grep "^l"' # list only links | ||
# list long, human readable, ignore implied~, | ||
# ignore compiled python files | ||
alias ll='ls -hlB --group-directories-first --hide=*.pyc' | ||
# list including .dotfiles | ||
alias lsa='ls -lAh --group-directories-first' | ||
alias lz="ls -lZ" # SELinux display | ||
|
||
## directory aliases | ||
alias mkdir='mkdir -p' #Make intermediaries | ||
# Disk usage | ||
alias du="du -h" | ||
# Grepping | ||
alias h="history | grep" | ||
|
||
# emacs modes | ||
alias gemacs="emacs-snapshot-gtk" | ||
alias nemacs="emacs -nw" | ||
|
||
# maven stuff | ||
alias mvnc="mvn clean && mvn -Dmaven.test.skip=true install" | ||
|
||
# moving aliases | ||
alias ..='cd ..' | ||
alias ...='cd ../..' | ||
alias downloads='cd ~/downloads' | ||
|
||
# apt aliases | ||
alias ainstall='sudo apt-get install' | ||
|
||
# Misc | ||
alias rtfm='man' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule sexy-bash-prompt
added at
408f87