From ef2f0f53c8f60e9329508fb89e195a3ba72075c9 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Mon, 8 May 2023 17:59:01 +0530 Subject: shell: spring cleaning --- .config/shell/init | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) (limited to '.config/shell/init') 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"' -- cgit v1.2.3