-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
24 lines (19 loc) · 870 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
#Aliases
alias connect='ssh [email protected]'
alias disconnect='cd ~; fusermount -u ~/Desktop/sftp'
alias sshmount='sshfs [email protected]:/ /home/ebonadonna/Desktop/sftp; cd /home/ebonadonna/Desktop/sftp'
alias davmount="sudo mount.davfs 'https://lamp-webdav.kproxy.cornell.edu/lamp-sascoe' /mnt/webdav"
alias Vim="vim `ls -t | head -1`"
alias findbig="find . -type f -exec ls -s {} \; | sort -n -r | head -5"
# Make ls output in color by default.
alias ls="ls --color=auto"
# make mv ask before overwriting a file by default
alias mv="mv -i"
#Syntax highlighting
export CLICOLOR=1
export LSCOLORS=ExFxCxDxCxegedabagacad
alias weather="telnet rainmaker.wunderground.com"
hexscroll() { pv -qL 90 /dev/urandom | xxd -c $(( ($COLUMNS-10)*2/7 )); }
# stuff for vi command line editing
set -o vi
music="/media/DEF8DBF5F8DBC9C3/Users/Erik/Music"