diff options
author | Florian Pritz <f-p@gmx.at> | 2008-12-02 19:30:43 +0100 |
---|---|---|
committer | Florian Pritz <f-p@gmx.at> | 2008-12-02 19:30:43 +0100 |
commit | 1794e3035c231898caad63f43b7eb26b8dd583e3 (patch) | |
tree | eed99e576c5ef2aecb98fc4f4e9bb1e1cc9807fa | |
parent | b21b63986819cd1e422282847a33429828b1250d (diff) | |
download | dotfiles-1794e3035c231898caad63f43b7eb26b8dd583e3.tar.gz dotfiles-1794e3035c231898caad63f43b7eb26b8dd583e3.tar.xz |
changed promt
-rw-r--r-- | .zshrc | 20 |
1 files changed, 5 insertions, 15 deletions
@@ -1,6 +1,6 @@ #----------------------------------------------------# # File: ~/.zshrc # -# Version: 0.3.1 # +# Version: 0.3.2 # # Author: Florian "Bluewind" Pritz <f-p@gmx.at># #----------------------------------------------------# @@ -142,7 +142,9 @@ prompt_eof_setup "$@" #-------------------- # Prompt #-------------------- -PS1="[${fg_cyan}%*${fg_no_colour}] - ${fg_light_red}$USERNAME${fg_no_colour} ${fg_light_blue}%~${fg_no_colour} > " +#PS1="[${fg_cyan}%*${fg_no_colour}] - ${fg_light_red}$USERNAME${fg_no_colour} ${fg_light_blue}%~${fg_no_colour} > " +PS1="${fg_light_red}$USERNAME${fg_no_colour}@${fg_light_green}%m${fg_no_colour} - ${fg_light_blue}%~${fg_no_colour} +[${fg_cyan}%*${fg_no_colour}] >" ## Spelling prompt SPROMPT='zsh: correct '%R' to '%r' ? ([Y]es/[N]o/[E]dit/[A]bort) ' @@ -281,19 +283,7 @@ yd (){ yaourt -G $1 } -# Helper function to reuse gpg-agents -initgpg(){ - envfile="${HOME}/.gpginfo" - if test -f ${envfile} && kill -0 $(cut -d: -f 2 ${envfile} | head -n 1) 2>/dev/null; then - eval $(cat ${envfile}) - else - eval `/usr/bin/gpg-agent --daemon --enable-ssh-support --write-env-file ${envfile}` - fi - export GPG_AGENT_INFO - export SSH_AUTH_SOCK - export SSH_AGENT_PID -} -initgpg +source bin/gpg-agent.sh google(){ firefox "http://www.google.com/search?&num=100&q=$*" & |