This commit is contained in:
kento2 2026-03-02 03:44:52 +01:00
parent 1ed31944bf
commit 96e30f69fc
3 changed files with 5 additions and 8 deletions

View file

@ -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)"