1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-27 09:03:17 +00:00
dotfiles/.local/bin/aliases

44 lines
1.3 KiB
Plaintext
Raw Normal View History

#!/usr/bin/fish
alias a 'alias -s'
a D 'cd $D'
a aliases 'v (which aliases); command aliases'
a bax 'source (which bax) && bax'
a cpugov 's cpupower frequency-set -g performance'
a dirdl 'wget -r -k -p --no-parent --no-clobber -e robots=off'
a dot 'cd ~/.dotfiles'
a ff 'fd -HILi -Edosdevices -E.git'
a g git
a giveme 's chown $USER'
a hardinfo 'inxi -SPARM -GCDN -v1 -xGCRS -Fxz'
a l ls
a la 'l -a'
a launcher 'rofi -combi-modi "drun,run" -show combi -modi "combi,window"'
a less 'eval $PAGER'
a off shutdown
a open xdg-open
a pagedl 'wget -H -k -p --no-clobber -e robots=off'
a qb 'qutebrowser --target auto'
a re 'systemctl reboot -i'
a s sudo
a se 's eopkg'
a supath 's env "PATH=$PATH"'
a up 'se up --y'
a v vi
a vi nvim
a ydl 'youtube-dl -ciw --write-sub --write-auto-sub --embed-subs --sub-lang=en -o "%(title)s.%(ext)s"'
a compress '7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on (realpath $argv).7z'
a dwarf 'mkdwarfs -i . -o $PWD.dwarfs'
a redwarf 'mkdwarfs -o redwarf.dwarfs --recompress -i'
a squash 'mksquashfs . $PWD.squashfs -comp zstd -b 1M -Xcompression-level 22'
a undwarfs 'mkdir dwarfs-root; dwarfsextract -o dwarfs-root -i'
for i in (cat ~/.config/qutebrowser/quickmarks | cut -d ' ' -f1)
a $i "qb / \":quickmark-load $i\""
end
for i in mcross thonny
a $i "pipx run $i"
end