1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-05-05 04:53:22 -07:00

move refresh into shrc

This commit is contained in:
Connor Olding 2024-03-21 13:45:42 -07:00
parent 642ab4dca2
commit 6bd93ad322
2 changed files with 3 additions and 11 deletions

View File

@ -82,6 +82,9 @@ fi
# simple commands and aliases {{{1
refresh() ### @- invoke `hash -r`.
{ hash -r; }
pl() ### @- print each argument on its own line.
{ printf '%s\n' "$@"; }

View File

@ -1,11 +0,0 @@
#!/usr/bin/env sh
# YES_ZSH
# YES_BASH
# YES_DASH
# YES_ASH
refresh() { ### @- invoke `hash -r`.
hash -r
}
[ -n "${preload+-}" ] || refresh "$@"