mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-13 22:02:34 +00:00
Added vic script
This commit is contained in:
5
scripts/.local/scripts/vic
Executable file
5
scripts/.local/scripts/vic
Executable file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# opens a shell command in vi
|
||||||
|
cmd=$(command -v $1)
|
||||||
|
test -n "$cmd" && vi "$cmd"
|
||||||
@@ -63,10 +63,10 @@ fpath_prepend() {
|
|||||||
|
|
||||||
# last arg will be first in path
|
# last arg will be first in path
|
||||||
path_prepend \
|
path_prepend \
|
||||||
|
"/usr/local/sbin" \
|
||||||
|
"usr/local/bin" \
|
||||||
"/opt/homebrew/bin" \
|
"/opt/homebrew/bin" \
|
||||||
"/opt/homebrew/sbin" \
|
"/opt/homebrew/sbin" \
|
||||||
"$(brew --prefix)/sbin" \
|
|
||||||
"$(brew --prefix)/bin" \
|
|
||||||
"$HOME/.local/bin" \
|
"$HOME/.local/bin" \
|
||||||
"$SCRIPTS"
|
"$SCRIPTS"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user