From abb204ed8349b10dc53fc5884c8388c11d23776d Mon Sep 17 00:00:00 2001 From: xero Date: Sat, 25 Jan 2014 20:12:16 -0500 Subject: add zsh config file. xdefaults organization --- .Xdefaults | 7 ++----- .zshrc | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+), 5 deletions(-) create mode 100644 .zshrc diff --git a/.Xdefaults b/.Xdefaults index 83250a5..e8e2eb0 100644 --- a/.Xdefaults +++ b/.Xdefaults @@ -19,6 +19,7 @@ urxvt*font: xft:gohufont:size=11:antialias=true urxvt*boldFont: xft:gohufont:size=11:antialias=true ! █▓▒░ interface +urxvt.saveLines: 4095 urxvt*scrollBar: false urxvt*transparent: true urxvt*shading: 15 @@ -48,9 +49,5 @@ urxvt*color8: #666666 ! █▓▒░ clipboard urxvt.keysym.Shift-Control-V: perl:clipboard:paste -urxvt.iso14755: False -urxvt.perl-ext-common: default,clipboard - -! █▓▒░ misc -urxvt.saveLines: 4095 urxvt.iso14755: false +urxvt.perl-ext-common: default,clipboard diff --git a/.zshrc b/.zshrc new file mode 100644 index 0000000..b96bb32 --- /dev/null +++ b/.zshrc @@ -0,0 +1,67 @@ +# ██ +# ░██ +# ██████ ██████░██ ██████ █████ +# ░░░░██ ██░░░░ ░██████ ░░██░░█ ██░░░██ +# ██ ░░█████ ░██░░░██ ░██ ░ ░██ ░░ +# ██ ░░░░░██░██ ░██ ░██ ░██ ██ +# ██████ ██████ ░██ ░██░███ ░░█████ +# ░░░░░░ ░░░░░░ ░░ ░░ ░░░ ░░░░░ +! +! ▓▓▓▓▓▓▓▓▓▓ +! ░▓ author ▓ xero +! ░▓ code ▓ http://code.xero.nu/dotfiles +! ░▓ mirror ▓ http://github.com/xero/dotfiles +! ░▓▓▓▓▓▓▓▓▓▓ +! ░░░░░░░░░░ +! +! █▓▒░ timestamps +# HIST_STAMPS="mm/dd/yyyy" + +#█▓▒░ exports +export PATH=$HOME/bin:/usr/local/bin:$PATH +# export MANPATH="/usr/local/man:$MANPATH" + +#█▓▒░ preferred editor for local and remote sessions +if [[ -n $SSH_CONNECTION ]]; then + export EDITOR='nano' +else + export EDITOR='sublime' +fi + +#█▓▒░ ssh +export SSH_KEY_PATH="~/.ssh/id_rsa" + +#█▓▒░ aliases +alias workscreen='xrandr --output HDMI1 --left-of LVDS1 --mode 1366x768' +alias ls='ls --color=auto' +alias lsla="ls -la --color=auto" +alias "cd.."="cd ../" +alias rock="ncmpcpp" +alias genplaylist="cd ~/music;find . -name '*.mp3' -o -name '*.flac'|sed -e 's%^./%%g' > ~/.mpd/playlists/all.m3u;mpd ~/.mpd/mpd.conf;mpc clear;mpc load all.m3u;mpc update" +alias matrix="cmatrix -b -s" +alias pipes="bash ~/fun/pipes.sh" +alias pipesx="bash ~/fun/pipesx.sh" +alias rain="bash ~/fun/rain.sh" +alias sai="sudo apt-get install" +alias screenfetch="~/fun/screenfetch" +alias invert="xcalib -i -a" +alias mixer="alsamixer" +alias disks="palimpsest" + +#█▓▒░ custom prompts + +#█▓▒░dual line +PROMPT="%F{cyan}┌[%F{white}%n@%M%F{cyan}]─[%F{red}%~%F{cyan}] +%F{cyan}└─ %F{white}" +#RPROMPT="%F{cyan}[%F{white}%n@%M%F{cyan}]" + +#█▓▒░ ninja +PROMPT="%F{white} ▟▙ %F{red}%~%F{white} +▟▒%F{blue}░░░░░░░%F{white}▜▙▜████████████████████████████████▛ +▜▒%F{blue}░░░░░░░%F{white}▟▛▟▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▛ + ▜▛ + %F{white}" + +#█▓▒░ minial +grey="%{^[[01;30m%}" +PROMPT='%F{cyan}[%F{white}%~%F{cyan}]── -%f ' -- cgit v1.2.1