.
This commit is contained in:
parent
4b0347543c
commit
01866d38c4
11 changed files with 402 additions and 12 deletions
|
|
@ -13,7 +13,7 @@ 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" }
|
||||
ops() { a="$(lr -t 'type=f' -t '!mode|1' -A)" && "$EDITOR" "$a" }
|
||||
ops() { a="$(lr -t 'type=f' -t '!mode|1' -A | fzy)" && "$EDITOR" "$a" }
|
||||
|
||||
set -o emacs
|
||||
|
||||
|
|
@ -25,6 +25,8 @@ alias pc='pass -c'
|
|||
alias pe='pass edit'
|
||||
cdpath="$HOME"
|
||||
|
||||
mktags() { ctags `lr -t 'name=~".c$"'` }
|
||||
|
||||
# date +hostname+ [battery]
|
||||
printf '%s +%s+ %s\n' \
|
||||
"$(date +%d%b%Y | tr [:upper:] [:lower:])" "$(hostname)" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue