cleanup aliases, add .wgetrc, small .screenrc changes

This commit is contained in:
2016-04-14 20:26:22 +02:00
parent 1555b55451
commit 7dc2d3ef92
3 changed files with 64 additions and 19 deletions

36
aliases
View File

@@ -1,28 +1,26 @@
# Dir navigation
# navigation
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias .....='cd ../../../..'
alias ~='cd ~'
# shortcuts
alias d='du -h -d=1'
alias g='git'
alias h='history'
# defaults
alias df='df -h'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
alias la='ls -la'
alias ls='ls -GFh'
alias tmux='tmux -2'
# Utilities
alias a="ack -ia"
alias b="bundle exec"
alias c="pygmentize -O style=monokai -f console256 -g"
alias d="du -h -d=1"
alias df="df -h"
alias g="git"
alias grep='GREP_COLOR="1;37;45" LANG=C grep --color=auto'
alias h="history"
alias httpdump="sudo tcpdump -i en1 -n -s 0 -w - | grep -a -o -E \"Host\: .*|GET \/.*\""
alias ip="curl -s http://checkip.dyndns.com/ | sed 's/[^0-9\.]//g'"
alias localip="ipconfig getifaddr en1"
#alias mp="mvim -p"
#alias rkt="racket -il xrepl"
alias tmux="tmux -2"
alias view="vim -p -R"
alias vp="vim -p"
alias view='vim -p -R'
alias vp='vim -p'