Skip to content

Instantly share code, notes, and snippets.

@0x17de
Created January 19, 2017 18:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 0x17de/4875e056b536f1d197189cbfbac69290 to your computer and use it in GitHub Desktop.
Save 0x17de/4875e056b536f1d197189cbfbac69290 to your computer and use it in GitHub Desktop.
bindkey "5C" forward-word
bindkey "5D" backward-word
#fpath=(~/.zsh/completion $fpath)
#ssh $1 'mkdir -p ~/.terminfo/r/'
#scp /usr/share/terminfo/r/rxvt-unicode-256color $host:~/.terminfo/r/
#trap "realignTerm" SIGWINCH
function realignTerm()
{
x=`tput cols`
if [ "$x" -lt "80" ]; then
grml_prompt_token_default[newline]=$'\n
else
grml_prompt_token_default[newline]=''
fi
}
function fs()
{
printf '\33]50;%s\007' xft:terminus:pixelsize=$
}
function ediff()
{
emacs --eval "(ediff-files \"$1\" \"$2\")"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment