shell: add llw - ls a file in the PATH
This commit is contained in:
parent
51ab57646f
commit
10b8e58a79
1 changed files with 12 additions and 0 deletions
12
.config/shell/functions/llw
Normal file
12
.config/shell/functions/llw
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
# llw - "ls -l which"
|
||||
# used to find information on one or more binaries in the PATH
|
||||
# usage:
|
||||
# llw bash firefox BespokeSynth
|
||||
|
||||
llw() {
|
||||
until [ $# = 0 ]; do
|
||||
ls -l "$(which "$1")"
|
||||
shift
|
||||
done
|
||||
}
|
Loading…
Add table
Reference in a new issue