aboutsummaryrefslogtreecommitdiff
path: root/shellrc.d/alias
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-08-12 18:37:31 +0200
committerKarel Kočí <cynerd@email.cz>2018-08-12 18:37:31 +0200
commita55cffa8b3cbc02e2b021ed25e67203d337c36bb (patch)
tree8ccc7d7fd3a8423af46a77c488511589142fc08b /shellrc.d/alias
parent8720b8f7bb072a861dcc5b4be1c97b02f0912a9e (diff)
downloadshellrc-0.5.2.tar.gz
shellrc-0.5.2.tar.bz2
shellrc-0.5.2.zip
Move some definitions around and add --desktop optionv0.5.2
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