From 2156a6726c577323162b5b42744cc1bd67efb2ac Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Tue, 4 Apr 2023 08:07:11 +0530 Subject: sh: clean: uniform shell expansion syntax --- .config/shell/init | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to '.config/shell') diff --git a/.config/shell/init b/.config/shell/init index ffa5b56..5182fd7 100644 --- a/.config/shell/init +++ b/.config/shell/init @@ -1,4 +1,5 @@ #!/bin/sh +# shellcheck disable=SC2139 export HISTSIZE=10000 export SAVEHIST=10000 @@ -9,8 +10,8 @@ alias sudo='doas' alias yta='yt-dlp -f 251' alias genc='gpg -c --no-symkey-cache --cipher-algo AES256' alias gcc='gcc -Wvla -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -fsanitize=address' -alias monerod="monerod --config-file=/etc/monerod.conf --data-dir $XDG_DATA_HOME/bitmonero" +alias monerod="monerod --config-file=/etc/monerod.conf --data-dir ${XDG_DATA_HOME}/bitmonero" alias monero-wallet-cli="monero-wallet-cli --config-file ${HOME}/.config/monero/monero-wallet-cli.conf" -alias mbsync="mbsync -c "$XDG_CONFIG_HOME"/isync/mbsyncrc" # $HOME clean up -alias irssi="irssi --config="$XDG_CONFIG_HOME"/irssi/config --home="$XDG_DATA_HOME"/irssi" # $HOME clean up -alias wget="wget --hsts-file="$XDG_DATA_HOME/wget-hsts"" # $HOME clean up +alias mbsync="mbsync -c ${XDG_CONFIG_HOME}/isync/mbsyncrc" # $HOME clean up +alias irssi="irssi --config=${XDG_CONFIG_HOME}/irssi/config --home=${XDG_DATA_HOME}/irssi" # $HOME clean up +alias wget="wget --hsts-file=${XDG_DATA_HOME}/wget-hsts" # $HOME clean up -- cgit v1.2.3