aboutsummaryrefslogtreecommitdiff
path: root/shellrc.d/alias
diff options
context:
space:
mode:
Diffstat (limited to 'shellrc.d/alias')
-rw-r--r--shellrc.d/alias24
1 files changed, 24 insertions, 0 deletions
diff --git a/shellrc.d/alias b/shellrc.d/alias
new file mode 100644
index 0000000..78dcafe
--- /dev/null
+++ b/shellrc.d/alias
@@ -0,0 +1,24 @@
+# vim: ft=sh:
+alias ls='ls --color=auto'
+eval $(dircolors -b)
+alias ll='ls -lh'
+alias df='df -h'
+alias du='du -h'
+alias grep='grep --color=auto'
+alias ip='ip -c'
+alias git='LANG=en_GB git'
+alias gdb='gdb -q'
+alias cgdb='cgdb -q'
+alias octave='octave-cli -q'
+alias ssh='TERM="xterm-256color" ssh'
+alias gst='git status'
+alias v='vim'
+alias watch='watch -n 1 -c -t -d'
+
+# Systemd aliases if we are running systemd
+if pidof systemd >/dev/null 2>/dev/null; then
+ alias sctl='sudo systemctl'
+ alias usctl='systemctl --user'
+ alias jrn='journalctl'
+ alias ujrn='jrn --user'
+fi