.
This commit is contained in:
parent
856e135e63
commit
16c7b23408
7 changed files with 63 additions and 8 deletions
11
files/.zshrc
11
files/.zshrc
|
|
@ -9,10 +9,10 @@ PS1='%B%m%(?.. %??)%(1j. %j&.)%b %2~%B%#%b '
|
|||
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} }
|
||||
sprunge() { cat $@ | curl -sF 'sprunge=<-' http://sprunge.us }
|
||||
g() { LC_ALL=C grep --exclude "*~" -r -P ${@:?regexp missing}; }
|
||||
sprunge() { cat $@ | curl -sF 'sprunge=<-' http://sprunge.us; }
|
||||
# minimal functions, 02mar
|
||||
mkcd() { mkdir -p "$1"; cd "$1" }
|
||||
mkcd() { mkdir -p "$1"; cd "$1"; }
|
||||
|
||||
set -o emacs
|
||||
|
||||
|
|
@ -27,14 +27,13 @@ test -d ~/Downloads && rmdir ~/Downloads
|
|||
|
||||
kcdp() {
|
||||
name="`lr -A -t 'depth > 3 ? prune : print' -t 'type=d' "$HOME/src" -s | fzy`"
|
||||
cd "$HOME/src/$name"
|
||||
test $? -eq 0 && cd "$HOME/src/$name"
|
||||
}
|
||||
|
||||
kmktags() { ctags `lr -A -t 'name=~".(ch)$"'` }
|
||||
kmktags() { ctags `lr -A -t 'name=~".(ch)$"'`; }
|
||||
alias xi='doas xi -y'
|
||||
alias vi='vis'
|
||||
alias xr='doas xbps-remove -y'
|
||||
alias kpc='pass -c'
|
||||
alias kp='pass'
|
||||
alias nman='man -M /usr/local/netbsd-man'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue