diff options
author | sinanmohd <sinan@firemail.cc> | 2023-05-08 17:59:01 +0530 |
---|---|---|
committer | sinanmohd <sinan@firemail.cc> | 2023-05-08 17:59:01 +0530 |
commit | ef2f0f53c8f60e9329508fb89e195a3ba72075c9 (patch) | |
tree | d7df966f1f14f60f4bfa39504f2e118b78a04496 /.config/shell/init | |
parent | 0ba810d43da3f16f92824d20f5605b0e776147e4 (diff) |
shell: spring cleaning
Diffstat (limited to '.config/shell/init')
-rw-r--r-- | .config/shell/init | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/.config/shell/init b/.config/shell/init index 5182fd7..29ad1c8 100644 --- a/.config/shell/init +++ b/.config/shell/init @@ -1,17 +1,22 @@ #!/bin/sh -# shellcheck disable=SC2139 export HISTSIZE=10000 export SAVEHIST=10000 -alias ls='ls --color=auto --group-directories-first' -alias grep='grep --color=auto' -alias cp='cp -iv' -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 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 +alias \ + ls='ls --color=auto --group-directories-first' \ + grep='grep --color=auto' \ + cp='cp -iv' \ + sudo='doas' \ + yta='yt-dlp -f 251' \ + genc='gpg -c --no-symkey-cache --cipher-algo AES256' \ + gcc='gcc -Wvla -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -fsanitize=address' + +# $HOME clean up +alias \ + monerod='monerod --config-file=/etc/monerod.conf --data-dir "${XDG_DATA_HOME}/bitmonero"' \ + monero-wallet-cli='monero-wallet-cli --config-file "${HOME}/.config/monero/monero-wallet-cli.conf"' \ + mbsync='mbsync -c "${XDG_CONFIG_HOME}/isync/mbsyncrc"' \ + irssi='irssi --config="${XDG_CONFIG_HOME}/irssi/config" --home="${XDG_DATA_HOME}/irssi"' \ + wget='wget --hsts-file="${XDG_DATA_HOME}/wget-hsts"' |