mirror of
https://github.com/notwa/rc
synced 2025-02-05 07:43:22 -08:00
move refresh
into shrc
This commit is contained in:
parent
642ab4dca2
commit
6bd93ad322
2 changed files with 3 additions and 11 deletions
|
@ -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' "$@"; }
|
||||
|
||||
|
|
11
sh/refresh
11
sh/refresh
|
@ -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 "$@"
|
Loading…
Add table
Reference in a new issue