Last active
December 28, 2015 17:39
-
-
Save cirrusUK/7537362 to your computer and use it in GitHub Desktop.
.zshrc
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
| [[ $- = *i* ]] || return | |
| [ -r /etc/profile.d/cnf.sh ] && . /etc/profile.d/cnf.sh | |
| export BROWSER="${${DISPLAY+firefox}:-w3m}" | |
| export ABSROOT="$HOME/build" | |
| export EDITOR="nano" | |
| export HISTFILE="$HOME/.logs/zhistory" | |
| export HISTSIZE=10000 SAVEHIST=10000 | |
| export PAGER="less" | |
| export SUDO_PROMPT="Password: " | |
| export IPLAYER_OUTDIR="/mnt/INT2/video/pvr" | |
| export MUTT_EDITOR="nano" | |
| export MOZ_USE_OMTC=1 | |
| export LIBVA_DRIVER_NAME=vdpau | |
| export VDPAU_DRIVER=r600 | |
| export SSH_KEY_PATH="~/.ssh/dsa_id" | |
| export ARCHFLAGS="-arch x86_64" | |
| export LC_ALL="en_GB.UTF-8" # Use British English... | |
| export LANG="en_GB.UTF-8" # ...as default language. | |
| export TZ="Europe/London" # Force our time zone this location. | |
| export TERM="xterm-256color" | |
| # | |
| #toilet -f mono12 --gay --w 100 Arch | |
| #alsi -c1=red -c2=blue -t red | |
| #fortune | ponysay | |
| #command cowsay -f tux $(fortune all) | |
| cat /etc/issue | |
| echo "Hello \e[1;37m\e[0;35m$USER.\e[0;51m" | |
| echo "Today is \e[31m$(date)\e[0;51m" | |
| echo -e "\033[1mCurrent working directory. \033[0;35m$(pwd)\e[0;51m" | |
| echo "\e[0;41m \e[0;47m \e[0;44m " | |
| source ~/.config/functions | |
| source ~/.config/alias | |
| source /usr/share/doc/pkgfile/command-not-found.zsh | |
| source /home/cirrus/.oh-my-zsh/plugins/emoji/emoji.plugin.zsh | |
| #Powerline & oh-my-zsh config. | |
| ZSH=~/.oh-my-zsh | |
| ZSH_THEME="powerline" | |
| source $ZSH/oh-my-zsh.sh | |
| POWERLINE_FULL_CURRENT_PATH="true" | |
| COMPLETION_WAITING_DOTS="true" | |
| plugins=(emoji git ant colorize) | |
| DISABLE_AUTO_UPDATE="true" | |
| # | |
| #oldprompt | |
| #PROMPT=$'%{\e[0;31m%}[%{\e[1;32m%}%*%{\e[0;31m%}][%{\e[0;32m%}%n@%m%{\e[0;31m%}]%{\e[1;22m%} ▄ ▃ ▂ ▁ \e[0;51m ▷ ' | |
| #RPROMPT=$'%{\e[0;31m%}[%{\e[1;32m%}%~%{\e[0;33m%}]%{\e[0m%}' | |
| setopt completealiases | |
| # NPM packages in homedir | |
| NPM_PACKAGES="$HOME/.npm-packages" | |
| # Tell our environment about user-installed node tools | |
| PATH="$NPM_PACKAGES/bin:$PATH" | |
| # Unset manpath so we can inherit from /etc/manpath via the `manpath` command | |
| unset MANPATH # delete if you already modified MANPATH elsewhere in your configuration | |
| MANPATH="$NPM_PACKAGES/share/man:$(manpath)" | |
| # Tell Node about these packages | |
| NODE_PATH="$NPM_PACKAGES/lib/node_modules:$NODE_PATH" | |
| #define path | |
| PATH=$PATH:/home/cirrus/.gem/ruby/2.2.0/bin:/home/cirrus/.bin:/usr/lib/surfraw | |
| # needs to be at the bottom, or completion will break highlighting. | |
| source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment