summaryrefslogtreecommitdiff
path: root/.config/shell
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-04-04 08:07:11 +0530
committersinanmohd <sinan@firemail.cc>2023-04-04 08:12:44 +0530
commit2156a6726c577323162b5b42744cc1bd67efb2ac (patch)
tree71f1c35a1b700a64d84eb745432c1744f612e54d /.config/shell
parentc1a7fd7bc4fb76589cb843af68d7b5a2d15023ad (diff)
sh: clean: uniform shell expansion syntax
Diffstat (limited to '.config/shell')
-rw-r--r--.config/shell/init9
1 files changed, 5 insertions, 4 deletions
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