summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <f-p@gmx.at>2009-02-22 16:52:04 +0100
committerFlorian Pritz <f-p@gmx.at>2009-02-22 16:52:04 +0100
commit588814116db57cda9c41e649aa80e720f599eda1 (patch)
tree7895da67e3c763c6e87d9d98c09da218649f9cf1
parent2858c9443f704487e6d80dc4850872c507d73fe3 (diff)
downloaddotfiles-588814116db57cda9c41e649aa80e720f599eda1.tar.gz
dotfiles-588814116db57cda9c41e649aa80e720f599eda1.tar.xz
update
-rw-r--r--.zsh/rc/10variables1
-rw-r--r--.zsh/rc/30functions4
-rw-r--r--.zsh/rc/60aliases2
3 files changed, 7 insertions, 0 deletions
diff --git a/.zsh/rc/10variables b/.zsh/rc/10variables
index 4796cf3..5ca5fdf 100644
--- a/.zsh/rc/10variables
+++ b/.zsh/rc/10variables
@@ -10,3 +10,4 @@ export PAGER=vimpager
#export LESSOPEN='|/usr/bin/lesspipe.sh %s 2>&-'
#export LESS='-i -c -N -w -g -M -R -P%t?f%f \
#:stdin .?pb%pb\%:?lbLine %lb:?bbByte %bb:-...'
+export GPG_TTY=‘tty‘
diff --git a/.zsh/rc/30functions b/.zsh/rc/30functions
index 24a2ddc..5bacb00 100644
--- a/.zsh/rc/30functions
+++ b/.zsh/rc/30functions
@@ -37,6 +37,10 @@ ls () {
echo "${PURPLE}Files: ${BLUE}$(/bin/ls -l $@ | grep -v "^[l|d|total]" | wc -l) ${GREEN}--- ${PURPLE}Directories: ${BLUE}$(/bin/ls -l $@ | grep "^d" | wc -l)${NC}"
}
+password () {
+ < /dev/urandom tr -dc A-Za-z0-9_ | head -c$1
+}
+
# jump between directories
# Copyright 2005 Nikolai Weibull <nikolai@bitwi.se>
# notice: option AUTO_PUSHD has to be set
diff --git a/.zsh/rc/60aliases b/.zsh/rc/60aliases
index 6aa652d..6c1bb5f 100644
--- a/.zsh/rc/60aliases
+++ b/.zsh/rc/60aliases
@@ -26,6 +26,7 @@ alias pushpkg='cp *.pkg.tar.gz *.src.tar.gz /mnt/mistral/srv/drop'
alias sudo="sudo " #Sudo wont recognize aliases without this
alias s='sudo'
alias x='x -v'
+alias xx='x -Rv'
alias u='upload.sh'
alias mtr='mtr -t'
alias wcl='wc -l'
@@ -61,6 +62,7 @@ alias ys='yaourt -S'
alias ysb='yaourt -Sb'
alias ysi='yaourt -Si'
alias yr='yaourt -Rs'
+alias yrc='yaourt -Rcs'
alias yrn='yaourt -Rns'
alias yqo='yaourt -Qo'