mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 14:12:41 +00:00
Fixed typo in ts, and updated vic script to use EDITOR
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
session=$(tmux list-sessions -F \#S | gum filter --placeholder "Pick a session...")
|
||||
tmux swift-client -t "$session" || tmux attach -t "$session"
|
||||
tmux switch-client -t "$session" || tmux attach -t "$session"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
# opens a shell command in vi
|
||||
cmd=$(command -v $1)
|
||||
test -n "$cmd" && vi "$cmd"
|
||||
# opens a shell command in $EDITOR
|
||||
cmd="$(command -v $1)"
|
||||
test -n "$cmd" && "$EDITOR" "$cmd"
|
||||
|
||||
Reference in New Issue
Block a user