summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <chaffinach+git@protonmail.ch>2022-05-29 11:36:43 +0100
committerMatthew Lemon <chaffinach+git@protonmail.ch>2022-05-29 11:36:43 +0100
commit3a46e5fbcf0c23ac569ea8bd33e400fab9d29624 (patch)
tree791a7103a8e9d9f168d9e1fe2f7d11012631c479
parent1ebcb12262bc82da382345bd371f15aab60b5f6e (diff)
moved all aliases to own file
Diffstat (limited to '')
-rw-r--r--ksh_aliases11
-rw-r--r--kshrc29
2 files changed, 16 insertions, 24 deletions
diff --git a/ksh_aliases b/ksh_aliases
index 7b76a7f..783bae7 100644
--- a/ksh_aliases
+++ b/ksh_aliases
@@ -1,3 +1,14 @@
+alias svim="doas vim"
+alias svi="doas vi"
+alias ..='cd ..'
+alias ...='cd ...'
+alias mkdir='mkdir -p'
+alias df='df -h'
+alias du='du -ch'
+alias ls="$LS -FHh"
+alias ll='ls -l'
+alias la='ls -lA'
+alias report="task burndown.daily"
alias lynx='~/debian-dotfiles/lynx/lynx'
alias xclip='xclip -selection c'
alias '?'=duck
diff --git a/kshrc b/kshrc
index 87905bd..eb2e521 100644
--- a/kshrc
+++ b/kshrc
@@ -27,31 +27,12 @@ if command -v colorls > /dev/null ; then
else
LS='ls'
fi
-alias ta="task add $1"
-alias t="task ready"
-alias report="task burndown.daily"
-#alias a='task add'
-alias ls="$LS -FHh"
-alias ll='ls -l'
-alias la='ls -lA'
-#alias ls='colorls -G'
-alias ..='cd ..'
-alias ...='cd ...'
-alias mkdir='mkdir -p'
-alias df='df -h'
-alias du='du -ch'
-alias weather='curl http://wttr.in/Berwick-upon-Tweed'
command -v neomutt > /dev/null && alias mutt='neomutt'
-alias svim="doas vim"
-alias svi="doas vi"
-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 gac="git commit -am 'update' && git push origin master"
+
+if [[ -z ~/.ksh_aliases ]]; then
+. ~/.ksh_aliases
+fi
# nice colored prompt that also sets xterm title
_XTERM_TITLE='\[\033]0;\u@\h:\w\007\]'