summaryrefslogblamecommitdiff
path: root/.config/shell/init
blob: 29ad1c8a0ab476555cbb3b6727e6b3f1a608132d (plain) (tree)
1
2
3
4



                     

















                                                                                                             
#!/bin/sh

export HISTSIZE=10000
export SAVEHIST=10000

# 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"'