config/shell: configuration enhancements
This commit is contained in:
parent
6716a763b7
commit
e386d2ba04
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"microbreakDuration": 30000,
|
"microbreakDuration": 30000,
|
||||||
"microbreakInterval": 1200000,
|
"microbreakInterval": 900000,
|
||||||
"breakDuration": 180000,
|
"breakDuration": 180000,
|
||||||
"breakInterval": 2,
|
"breakInterval": 3,
|
||||||
"breakNotification": true,
|
"breakNotification": false,
|
||||||
"microbreakNotification": true,
|
"microbreakNotification": false,
|
||||||
"breakNotificationInterval": 30000,
|
"breakNotificationInterval": 30000,
|
||||||
"microbreakNotificationInterval": 10000,
|
"microbreakNotificationInterval": 10000,
|
||||||
"microbreak": true,
|
"microbreak": true,
|
||||||
|
|
|
@ -34,6 +34,7 @@ cl() {
|
||||||
|
|
||||||
# cd but search for data dirs and run ls after switching to target dir
|
# cd but search for data dirs and run ls after switching to target dir
|
||||||
cd() {
|
cd() {
|
||||||
|
# TODO integrate cde
|
||||||
if test -d "$DATA" && test "${1:--}" != "-" -a ! -d "$1" -a $# -eq 1
|
if test -d "$DATA" && test "${1:--}" != "-" -a ! -d "$1" -a $# -eq 1
|
||||||
then
|
then
|
||||||
dir=$(fd --no-ignore --glob "$1*" "$DATA" "$MNT" --maxdepth 2 --type d --max-results 1 2>/dev/null)
|
dir=$(fd --no-ignore --glob "$1*" "$DATA" "$MNT" --maxdepth 2 --type d --max-results 1 2>/dev/null)
|
||||||
|
|
|
@ -332,7 +332,7 @@ sshl() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
alias delta="sudo systemctl restart openvpn-client@deltaPeak.service || jcl --unit openvpn-client@deltaPeak.service"
|
alias delta='sudo systemctl restart openvpn-client@deltaPeak.service || jcl --unit openvpn-client@deltaPeak.service'
|
||||||
|
|
||||||
# Listen to loopback of mic
|
# Listen to loopback of mic
|
||||||
alias listen='pactl load-module module-loopback; echo "Press Enter to stop"; read; pactl unload-module module-loopback'
|
alias listen='pactl load-module module-loopback; echo "Press Enter to stop"; read; pactl unload-module module-loopback'
|
||||||
|
@ -345,15 +345,16 @@ alias usergroups="cat /etc/passwd | cut -d':' -f1 | xargs -n 1 id"
|
||||||
|
|
||||||
p() { pass "$@" || pass edit "$@"; }
|
p() { pass "$@" || pass edit "$@"; }
|
||||||
|
|
||||||
alias omd="(echo '#+OPTIONS: tags:nil'; xclip -o -selection clipboard) | pandoc -f org-auto_identifiers -t markdown --wrap preserve | xclip -filter"
|
alias omd='(echo "#+OPTIONS: tags:nil"; xclip -o -selection clipboard) | pandoc -f org-auto_identifiers -t markdown --wrap preserve | xclip -filter'
|
||||||
alias mdo="pandoc -f gfm-ascii_identifiers-gfm_auto_identifiers -t org-auto_identifiers --wrap preserve"
|
alias mdo='pandoc -f gfm-ascii_identifiers-gfm_auto_identifiers -t org-auto_identifiers --wrap preserve'
|
||||||
alias mdox="xclip -o -selection clipboard | mdo | xclip -filter"
|
alias mdox='xclip -o -selection clipboard | mdo | xclip -filter'
|
||||||
|
alias pmd='pandoc -t markdown_strict-raw_html'
|
||||||
|
|
||||||
alias clr="diffr --colors refine-added:none:background:0x33,0x66,0x33:bold --colors added:none:background:0x33,0x44,0x33 --colors refine-removed:none:background:0x66,0x33,0x33:bold --colors removed:none:background:0x44,0x33,0x33 | less -F"
|
alias clr='diffr --colors refine-added:none:background:0x33,0x66,0x33:bold --colors added:none:background:0x33,0x44,0x33 --colors refine-removed:none:background:0x66,0x33,0x33:bold --colors removed:none:background:0x44,0x33,0x33 | less -F'
|
||||||
|
|
||||||
alias f="fossil"
|
alias f='fossil'
|
||||||
alias fs="fossil status"
|
alias fs='fossil status'
|
||||||
alias fc="fossil commit -v"
|
alias fc='fossil commit -v'
|
||||||
fdf() {
|
fdf() {
|
||||||
fossil diff "$@" | clr
|
fossil diff "$@" | clr
|
||||||
}
|
}
|
||||||
|
|
|
@ -64,7 +64,7 @@ arguments = "--rebase --autostash"
|
||||||
|
|
||||||
[linux]
|
[linux]
|
||||||
# Arguments to pass yay when updating packages
|
# Arguments to pass yay when updating packages
|
||||||
yay_arguments = "--nodiffmenu --ignore android-studio --ignore clion --ignore intellij-idea-ultimate-edition --ignore intellij-idea-ultimate-edition-jre --ignore webstorm --ignore linux"
|
yay_arguments = "--nodiffmenu --ignore android-studio --ignore clion --ignore intellij-idea-ultimate-edition --ignore intellij-idea-ultimate-edition-jre --ignore webstorm --ignore linux --ignore stretchly-xeruf-git"
|
||||||
#trizen_arguments = "--devel"
|
#trizen_arguments = "--devel"
|
||||||
#enable_tlmgr = true
|
#enable_tlmgr = true
|
||||||
#emerge_sync_flags = "-q"
|
#emerge_sync_flags = "-q"
|
||||||
|
|
Loading…
Reference in New Issue