summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-04-14 00:51:50 -0400
committerAmin Bandali <bandali@gnu.org>2019-04-14 00:51:50 -0400
commitdc9a8087274fa7dd52a83993fbe52d412e9739df (patch)
treec17e1640d65dd056e664234268efda23482293eb
parent6b8582fa39ded47649cfc3d7097806a39a5889ad (diff)
downloadconfigs-dc9a8087274fa7dd52a83993fbe52d412e9739df.tar.gz
configs-dc9a8087274fa7dd52a83993fbe52d412e9739df.tar.xz
configs-dc9a8087274fa7dd52a83993fbe52d412e9739df.zip
bash: bring over some aliases and customizations from .zshrc
Diffstat (limited to '')
-rw-r--r--.bashrc25
1 files changed, 20 insertions, 5 deletions
diff --git a/.bashrc b/.bashrc
index a355b0c..04cacb6 100644
--- a/.bashrc
+++ b/.bashrc
@@ -1,9 +1,24 @@
-#
-# ~/.bashrc
-#
-
# If not running interactively, don't do anything
-[[ $- != *i* ]] && return
+# [[ $- != *i* ]] && return
+# aliases
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
+alias mpv="mpv --ytdl-format mp4"
+alias mv="mv -iv"
+alias cp="cp -iv"
+alias scl=systemctl
+alias jcl=journalctl
+alias m="mbsync csclub; mbsync uwaterloo; mbsync amin"
+alias best="youtube-dl -f best"
+
+aur() {
+ cd ~/usr/builds
+ git clone https://aur.archlinux.org/${1}.git
+ cd ${1}
+}
+
+# i-beam cursor
+# echo -e "\033[5 q" # blinking
+echo -e "\033[6 q" # non-blinking
+