diff options
Diffstat (limited to '.bashrc')
| -rw-r--r-- | .bashrc | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -90,7 +90,7 @@ export PROMPT_COMMAND="shell_var_fix;" ps_commands() { has="" - for i in $@ + for i in "$@" do case $i in (git) @@ -106,7 +106,7 @@ export PROMPT_COMMAND="shell_var_fix;" [ -n "$has" ] } right_slab() { - ps_commands $@ && echo "$PS_RIGHT_SLAB" + ps_commands "$@" && echo "$PS_RIGHT_SLAB" } ps_space() { @@ -305,8 +305,8 @@ EOF # Kill process and run in the background res() { - pkill $@ - bgr $@ + pkill "$@" + bgr "$@" } # Launch .desktop application (either full path or just name) @@ -331,7 +331,7 @@ EOF # File operations {{{ cp() { - command cp -p $@ + command cp -p "$@" } metas() { @@ -401,7 +401,7 @@ v() { if [ -f ".vim-session" ] && [ -z "$1" ]; then vim -S .vim-session else - vim $@ + vim "$@" fi } @@ -409,7 +409,7 @@ v() { grap() { parent="$1" shift - grit add -p $parent -- $@ + grit add -p $parent -- "$@" } onemo() { |
