.
This commit is contained in:
parent
1ed31944bf
commit
96e30f69fc
3 changed files with 5 additions and 8 deletions
|
|
@ -10,8 +10,9 @@ setopt histignoredups histignorespace incappendhistory extendedhistory
|
|||
SAVEHIST=9000 HISTSIZE=9000 HISTFILE=~/.zsh_history
|
||||
# minimal functions, 08sep2017 +leah+
|
||||
g() { LC_ALL=C grep --exclude "*~" -r -P ${@:?regexp missing} }
|
||||
l() { find ${2:-.} ! -type d | sed 's:^\./::' | egrep "$1" }
|
||||
sprunge() { cat $@ | curl -sF 'sprunge=<-' http://sprunge.us }
|
||||
# minimal functions, 02mar
|
||||
mkcd() { mkdir -p "$1"; cd "$1" }
|
||||
|
||||
alias xi='xi -y'
|
||||
alias vi='vis'
|
||||
|
|
@ -21,4 +22,4 @@ alias pc='pass -c'
|
|||
alias pe='pass edit'
|
||||
cdpath="$HOME"
|
||||
|
||||
printf '%s +%s+\n' "$(date +%d%b%Y)" "$(hostname)"
|
||||
printf '%s +%s+\n' "$(date +%d%b%Y | tr [:upper:] [:lower:])" "$(hostname)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue