-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
30 lines (19 loc) · 747 Bytes
/
.bashrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
# new bash prompt with linebreak
PS1='\[\033[1;34m\] [\[\033[1;30m\] \H (\s \v) \[\033[1;34m\] ] \[\033[1;34m\] [\[\033[1;33m\] \u\[\033[1;34m\] ] \[\033[1;34m\] [\[\033[1;33m\] \t \d \[\033[1;34m\]] \[\033[1;34m\] [\[\033[1;33m\] :\w\[\033[1;34m\] ] :${?}\n\## \[\033[1;32m\] '
# old bash prompt until 2018-03-13
# PS1='\[\033[1;34m\] [\[\033[1;33m\] \u @ \h:\w\[\033[1;34m\] ] $\[\033[1;32m\] '
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
alias ll='ls -l'
alias mplayer='mpv'
alias sudo='sudo '
export EDITOR="vim"
complete -cf sudo
cat /usr/share/pokeshell/$(($RANDOM % 151 + 1)).pokemon