dotfiles

configuration files for different softwares
git clone git://z3bra.org/dotfiles
Log | Files | Refs

commit 5a67493428d14bc7f91fe26b64bada0761f48594
parent ebc0de37ebd48e2c804656eb4eef7f9ee46f6b0b
Author: Willy Goiffon <w.goiffon@gmail.com>
Date:   Tue Jul  2 10:02:53 2013

Merge branch 'master' of gitorious.org:z3bra/dotfiles

Diffstat:
 vim/bundle/custom/colors/sandstorm.vim |  2 +-
 zshrc                                  | 32 ++++++++++++++++++++------------
 2 files changed, 21 insertions(+), 13 deletions(-)

diff --git a/vim/bundle/custom/colors/sandstorm.vim b/vim/bundle/custom/colors/sandstorm.vim @@ -21,7 +21,7 @@ if has("gui_running") || &t_Co == 256 highlight Comment term=NONE cterm=NONE ctermfg=0 ctermbg=NONE highlight Constant term=NONE cterm=NONE ctermfg=226 ctermbg=NONE highlight Cursor term=NONE cterm=NONE ctermfg=66 ctermbg=222 - highlight CursorLine term=NONE cterm=NONE ctermfg=NONE ctermbg=235 + highlight CursorLine term=NONE cterm=underline ctermfg=NONE ctermbg=NONE highlight DiffAdd term=NONE cterm=NONE ctermfg=NONE ctermbg=22 highlight DiffChange term=NONE cterm=NONE ctermfg=NONE ctermbg=17 highlight DiffDelete term=NONE cterm=NONE ctermfg=NONE ctermbg=52 diff --git a/zshrc b/zshrc @@ -42,7 +42,10 @@ alias mv='mv -i' # Alias to avoid some 'RAAAAAAAAAH !!' alias :q='quit' -alias fuck='sudo $(fc -n -l -1)' +alias fu='sudo $(fc -n -l -1)' + +# Network/System monitoring +alias netlist='lsof -i -P | grep LISTEN' # show active network listener # Pipes & more alias -g BG='& exit' @@ -57,27 +60,20 @@ alias -g S='| curl -F "sprunge=<-" http://sprunge.us' alias ls='ls --color=auto' alias grep='grep --color=auto' -alias fgrep='fgrep --color=auto' -alias egrep='egrep --color=auto' # some more ls aliases -alias ll='ls -alhF --color=auto' -alias la='ls -A --color=auto' -alias l='ls -CF --color=auto' +alias ll='ls -alhF' +alias la='ls -A' +alias l='ls -CF' ## Edition export EDITOR='vim' alias v='vim' alias sv='sudo vim' -alias e='$EDITOR' -alias se='sudo $EDITOR' ## ALSA alias vol='alsamixer' -# IRC client -alias irc='irssi' - # TMUX alias t='tmux' @@ -89,6 +85,7 @@ alias rec="ffmpeg -f x11grab -s 1440x900 -r 25 -i :0.0 output.mkv" # HANDY RICKY SCRIPT alias rick="echo 'curl -L http://bit.ly/10hA8iC | bash'" +alias rcommit="curl -s http://whatthecommit.com/index.txt" ## }}} @@ -124,6 +121,17 @@ extract () { fi } +gify() { + if [[ -n "$1" && -n "$2" ]]; then + ffmpeg -i $1 -pix_fmt rgb24 temp.gif + convert -layers Optimize temp.gif $2 + rm temp.gif + else + echo "proper usage: gif-ify <input_movie.mov> <output_file.gif>" + echo "You DO need to include extensions." + fi +} + # spawn a new main tmux session or attach to it if it exists # t () { # SESSION_NAME=$(hostname) @@ -139,7 +147,7 @@ extract () { # } # auto-cd into a created directory -mkcd () { +mcd () { mkdir $@ && cd $_ }