Created
January 8, 2016 17:41
-
-
Save andru255/95bf65d272f5d34c76d5 to your computer and use it in GitHub Desktop.
aliases vol. 1
This file contains hidden or 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
#ALIAS | |
#alias ls='ls -F --color=always' | |
#alias dir='dir -F --color=always' | |
#alias ll='ls -l' | |
alias cp='cp -iv' | |
alias rm='rm -i' | |
alias mv='mv -iv' | |
alias grep='grep --color=auto -in' | |
alias v='vim' | |
alias ..='cd ..' | |
alias show_ports='sudo lsof -i -n -P | grep TCP' | |
##GIT | |
alias gst='git status' | |
alias gc='git commit' | |
alias gacm='git add .;git commit -am' | |
alias gac='git add .;git commit' | |
alias gcodot='git checkout .' | |
alias gco='git checkout' | |
alias gpo='git pull origin' | |
#alias gpom="git pull origin master" | |
alias gpso='git push origin' | |
alias gd='git diff | mate' | |
alias gb='git branch' | |
alias gba='git branch -a' | |
alias del='git branch -d' | |
#alias gam='git commit -am' | |
#alias grm='git rm' | |
#alias gmv='git mv' | |
#alias grr='git reset --hard HEAD' | |
#alias goop="git commit --amend -C HEAD -n" | |
#alias gls='git log --pretty=format:"%C(reset)%h %C(yellow)%ad%C(yellow)%d %C(reset)%s%C(green) [%cn]" --decorate --date=short' | |
#alias ga='git add' | |
#alias gp='git push' | |
#alias gl='git log --name-status' | |
#alias gs='git status' | |
#alias gf='git fetch -p' | |
#alias gm='git commit -m' | |
#alias gb='git branch' | |
#alias gc='git checkout' | |
#alias gff="git fetch -p && git rebase origin/\$(just_git_branch)" | |
alias chaplin='coffee --watch --bare --output src/public/static/js/um/ frontend/chaplin/coffee/' | |
alias starcraft='wine /home/dru/games/SC1.16/StarCraft.exe' | |
#instertando la propieda de http://vim.wikia.com/wiki/256_colors_setup_for_console_Vim | |
#export TERM=xterm-256color | |
export TERM=rxvt-256color | |
export EDITOR=vim | |
alias cafe='coffee --watch --bare --output src/public/static/js/ frontend/cafe/' | |
alias pro='cd ~/Projects/' | |
alias gitk='/usr/local/git/bin/gitk' | |
alias jadeflux='jade --pretty --watch ' | |
alias servethis="python -c 'import SimpleHTTPServer; SimpleHTTPServer.test()'" | |
alias servethisphp="php -S 0.0.0.0:8000 -t ." | |
#exclusivo for macOS | |
#show files finder | |
alias showfiles="defaults write com.apple.finder AppleShowAllFiles TRUE; killall Finder" | |
alias hidefiles="defaults write com.apple.finder AppleShowAllFiles FALSE; killall Finder" | |
#diff merge | |
alias diffmerge="open -a DiffMerge" | |
# alias meld="open -a Meld" | |
alias tmuxu="bash ~/tmxLaunchers/urbania3" | |
alias gulpea="gulp; gulp watch;" | |
alias gbranch="git branch" | |
alias gcompile="gulp; git add .;git commit -am 'chore(gulp):compilacion de estaticos'" | |
alias macs="/Applications/Emacs.app/Contents/MacOS/Emacs -nw" | |
alias emacs="/Applications/Emacs.app/Contents/MacOS/Emacs" | |
alias removeorig='find . -regex ".*\.\orig" -delete' | |
alias cls="ls -l | awk '{k=0;for(i=0;i<=8;i++)k+=((substr(\$1,i+2,1)~/[rwx]/)*2^(8-i));if(k)printf(\"%0o \",k);print}'" | |
alias cati='pygmentize -O style=monokai -f console256 -g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment