-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdotbash_profile
35 lines (26 loc) · 1.13 KB
/
dotbash_profile
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
29
30
31
32
33
34
export PS1='\u@\h \w `git branch 2> /dev/null | grep -e ^* | sed -E s/^\\\\\*\ \(.+\)$/\(\\\\\1\)\/`$:'
# System-wide .bashrc file for interactive bash(1) shells.
if [ -z "$PS1" ]; then
return
fi
# Make bash check its window size after a process completes
shopt -s checkwinsize
alias xemacs='/Applications/Emacs.app/Contents/MacOS/Emacs'
alias ls='ls -G'
alias l='ls'
alias p='python3'
# send any file to my server / download
#alias toServer='scp -r $1 [email protected]:/Users/naruse/Desktop/WebServerRoot/Download'
function toServer {
scp -r $1 [email protected]:/Volumes/CASQUETE/htdocs/Downloads;
echo "http://200.116.6.34/Downloads/$1" | pbcopy;
echo "Copied to clipboard:";
echo "http://200.116.6.34/Downloads/$1";
}
export EDITOR=emacs
##
# Your previous /Users/naruse/.bash_profile file was backed up as /Users/naruse/.bash_profile.macports-saved_2013-10-31_at_16:43:51
##
# MacPorts Installer addition on 2013-10-31_at_16:43:51: adding an appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.