summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <chaffinach+git@protonmail.ch>2022-05-18 09:03:11 +0100
committerMatthew Lemon <chaffinach+git@protonmail.ch>2022-05-18 09:03:11 +0100
commit72c7566b79bb86d34462c9b9056c80e345ab92f8 (patch)
tree6dab69466329b127db459eaa3d8b67c96352d328
parent00ed44a2cb36e4cc6b4d70897cfc53039c5d7a2e (diff)
added ksh aliases
-rw-r--r--ksh_aliases29
-rw-r--r--kshrc6
2 files changed, 35 insertions, 0 deletions
diff --git a/ksh_aliases b/ksh_aliases
new file mode 100644
index 0000000..47e16a9
--- /dev/null
+++ b/ksh_aliases
@@ -0,0 +1,29 @@
+alias lynx='~/debian-dotfiles/lynx/lynx'
+alias xclip='xclip -selection c'
+alias '?'=duck
+alias vimpluginstall="vim +':PlugInstall' +':q!' +':q!'"
+alias ipinfo="curl ipinfo.io"
+alias weather="curl wttr.in"
+alias vi='vim'
+alias a='task add'
+alias s='task sync'
+alias t='task'
+alias ttoday='task ml_due_or_scheduled_today'
+alias du='ncdu --color dark -rr -x --exclude .git'
+alias free='free -h'
+alias gloga='git log --oneline --decorate --graph --all'
+alias taskallprojects='task rc.list.all.projects=1 projects'
+alias taskalltags='task rc.list.all.tags=1 tags'
+alias taskcurrentprojects='task projects'
+alias gac="git commit -am 'update' && git push origin master"
+alias rcal1w="ssh bobbins rem -cc+a1 -w160 -m"
+alias rcal2w="ssh bobbins rem -cc+a2 -w160 -m"
+alias rcal3w="ssh bobbins rem -cc+a3 -w160 -m"
+alias rcal1m="ssh bobbins rem -cca -w160 -m"
+alias rcal2m="ssh bobbins rem -cca2 -w160 -m"
+alias qrclip="xclip -o -s c | qrencode -o - | feh --force-aliasing -ZF -"
+alias rcal1w_small="ssh bobbins rem -cca+1 -w120 -m"
+alias rcal2w_small="ssh bobbins rem -cca+2 -w120 -m"
+alias tallproj='task rc.list.all.projects=1 projects'
+alias absguide='lynx https://tldp.org/LDP/abs/html/'
+alias mutt='neomutt -f Mail/fastmail/INBOX/'
diff --git a/kshrc b/kshrc
index 9a4efa0..822a11e 100644
--- a/kshrc
+++ b/kshrc
@@ -85,6 +85,12 @@ tjclip () {
echo "$1: $(xclip -o -selection clipboard)." | _tj
}
+# mpv func
+yta() {
+ mpv --ytdl-format=bestaudio ytdl://ytsearch:"$*"
+ }
+
+
# FZF
#export FZF_DEFAULT_COMMAND='ag -g ""'
#export FZF_CTRL_T_COMMAND=$FZF_DEFAULT_COMMAND