projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6b8582f
)
bash: bring over some aliases and customizations from .zshrc
author
Amin Bandali
<bandali@gnu.org>
Sun, 14 Apr 2019 04:51:50 +0000
(
00:51
-0400)
committer
Amin Bandali
<bandali@gnu.org>
Sun, 14 Apr 2019 04:51:50 +0000
(
00:51
-0400)
.bashrc
patch
|
blob
|
blame
|
history
diff --git
a/.bashrc
b/.bashrc
index
a355b0c
..
04cacb6
100644
(file)
--- a/
.bashrc
+++ b/
.bashrc
@@
-1,9
+1,24
@@
-#
-# ~/.bashrc
-#
-
# If not running interactively, don't do anything
# If not running interactively, don't do anything
-[[ $- != *i* ]] && return
+
#
[[ $- != *i* ]] && return
+# aliases
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
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
+