sh: Fix quoting

This commit is contained in:
Marty Oehme 2023-07-21 20:17:22 +02:00
parent 6e5ad35862
commit c8eb9fdb4c
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
3 changed files with 4 additions and 4 deletions

View file

@ -160,8 +160,8 @@ riverctl map normal $mod+Shift Comma send-to-output previous
# set up 10 tags (with '0' opening the 10th one)
for i in $(seq 0 9); do
tags=$((1 << (i - 1)))
if [ "$i" -eq 0 ]; then tags=$((1 << 9)); fi
tags="$((1 << (i - 1)))"
if [ "$i" -eq 0 ]; then tags="$((1 << 9))"; fi
# Mod+[1-9] to focus tag [0-8]
riverctl map normal $mod "$i" set-focused-tags $tags

View file

@ -1,6 +1,6 @@
#!/bin/sh
# 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)"
# any

View file

@ -47,7 +47,7 @@ export LC_ALL="en_US.UTF-8"
export LANG="en_US.UTF-8"
# if we forgot to set it treat bash as default
export SHELL=${SHELL:-/bin/bash}
export SHELL="${SHELL:-/bin/bash}"
export TERM=xterm-256color