update
This commit is contained in:
parent
04aa07a158
commit
a21c23ab41
2 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,2 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#TODO: add support for more parameters :D
|
urxvt -e tmux new "$*"'; $SHELL'
|
||||||
urxvt -e tmux new $1' '$2' '$3'; $SHELL'
|
|
||||||
|
|
4
.local/bin/spawn_urxvt_tmux_vifm.sh
Executable file
4
.local/bin/spawn_urxvt_tmux_vifm.sh
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
CMD=$(echo $1 | awk '{print \
|
||||||
|
gensub(/(file:\/\/)?(.*)/, "\\2", "g")}' -)
|
||||||
|
~/.local/bin/spawn_urxvt_tmux.sh vifm $CMD
|
Loading…
Reference in a new issue