sh: Fix quoting
This commit is contained in:
parent
6e5ad35862
commit
c8eb9fdb4c
3 changed files with 4 additions and 4 deletions
|
@ -160,8 +160,8 @@ riverctl map normal $mod+Shift Comma send-to-output previous
|
||||||
|
|
||||||
# set up 10 tags (with '0' opening the 10th one)
|
# set up 10 tags (with '0' opening the 10th one)
|
||||||
for i in $(seq 0 9); do
|
for i in $(seq 0 9); do
|
||||||
tags=$((1 << (i - 1)))
|
tags="$((1 << (i - 1)))"
|
||||||
if [ "$i" -eq 0 ]; then tags=$((1 << 9)); fi
|
if [ "$i" -eq 0 ]; then tags="$((1 << 9))"; fi
|
||||||
|
|
||||||
# Mod+[1-9] to focus tag [0-8]
|
# Mod+[1-9] to focus tag [0-8]
|
||||||
riverctl map normal $mod "$i" set-focused-tags $tags
|
riverctl map normal $mod "$i" set-focused-tags $tags
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# more usage instructions at https://github.com/clvv/fasd
|
# more usage instructions at https://github.com/clvv/fasd
|
||||||
# eval "$(fasd --init posix-hook posix_alias bash-hook zsh-hook zsh-ccomp zsh-ccomp-install zsh-wcomp zsh-wcomp-install)"
|
# exist fasd && eval "$(fasd --init posix-hook posix_alias bash-hook zsh-hook zsh-ccomp zsh-ccomp-install zsh-wcomp zsh-wcomp-install)"
|
||||||
exist fasd && eval "$(fasd --init auto)"
|
exist fasd && eval "$(fasd --init auto)"
|
||||||
|
|
||||||
# any
|
# any
|
||||||
|
|
|
@ -47,7 +47,7 @@ export LC_ALL="en_US.UTF-8"
|
||||||
export LANG="en_US.UTF-8"
|
export LANG="en_US.UTF-8"
|
||||||
|
|
||||||
# if we forgot to set it treat bash as default
|
# if we forgot to set it treat bash as default
|
||||||
export SHELL=${SHELL:-/bin/bash}
|
export SHELL="${SHELL:-/bin/bash}"
|
||||||
|
|
||||||
export TERM=xterm-256color
|
export TERM=xterm-256color
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue