Browse code

bash_profile (cygwin) - v0.0

Fred authored on07/01/2014 17:52:24
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,74 @@
1
+# To the extent possible under law, the author(s) have dedicated all 
2
+# copyright and related and neighboring rights to this software to the 
3
+# public domain worldwide. This software is distributed without any warranty. 
4
+# You should have received a copy of the CC0 Public Domain Dedication along 
5
+# with this software. 
6
+# If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. 
7
+
8
+# base-files version 4.1-1
9
+
10
+# ~/.bash_profile: executed by bash(1) for login shells.
11
+
12
+# The latest version as installed by the Cygwin Setup program can
13
+# always be found at /etc/defaults/etc/skel/.bash_profile
14
+
15
+# Modifying /etc/skel/.bash_profile directly will prevent
16
+# setup from updating it.
17
+
18
+# The copy in your home directory (~/.bash_profile) is yours, please
19
+# feel free to customise it to create a shell
20
+# environment to your liking.  If you feel a change
21
+# would be benifitial to all, please feel free to send
22
+# a patch to the cygwin mailing list.
23
+
24
+# User dependent .bash_profile file
25
+
26
+# source the users bashrc if it exists
27
+if [ -f "${HOME}/.bashrc" ] ; then
28
+  source "${HOME}/.bashrc"
29
+fi
30
+
31
+# Set PATH so it includes user's private bin if it exists
32
+# if [ -d "${HOME}/bin" ] ; then
33
+#   PATH="${HOME}/bin:${PATH}"
34
+# fi
35
+
36
+# Set MANPATH so it includes users' private man if it exists
37
+# if [ -d "${HOME}/man" ]; then
38
+#   MANPATH="${HOME}/man:${MANPATH}"
39
+# fi
40
+
41
+# Set INFOPATH so it includes users' private info if it exists
42
+# if [ -d "${HOME}/info" ]; then
43
+#   INFOPATH="${HOME}/info:${INFOPATH}"
44
+# fi
45
+
46
+
47
+
48
+#=========#
49
+# Aliases #
50
+#=========#
51
+
52
+# Shortcuts for ssh operations
53
+alias medusa='ssh medusa'
54
+alias medusa2='ssh medusa2'
55
+alias mendel='ssh mendel'
56
+
57
+# Shortcut for vim
58
+alias vi='vim'
59
+
60
+# Path to Windows home
61
+alias wh="cd /cygdrive/c/Users/$USER/"
62
+
63
+
64
+
65
+#================================================#
66
+# User specific environment and startup programs #
67
+#================================================#
68
+
69
+# Personalized PATH
70
+export PATH="/usr/local/bin:/usr/bin:/cygdrive/c/Program Files/Common Files/Microsoft Shared/Windows Live:/cygdrive/c/Program Files (x86)/Common Files/Microsoft Shared/Windows Live:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files (x86)/Intel/Services/IPT:/cygdrive/c/Program Files (x86)/NTRU Cryptosystems/NTRU TCG Software Stack/bin:/cygdrive/c/Program Files/NTRU Cryptosystems/NTRU TCG Software Stack/bin:/cygdrive/c/Program Files/Dell/Dell Data Protection/Access/Advanced/Wave/Gemalto/Access Client/v5:/cygdrive/c/Program Files (x86)/Windows Live/Shared:/cygdrive/c/Program Files (x86)/Common Files/Roxio Shared/DLLShared:/cygdrive/c/Program Files (x86)/Common Files/Roxio Shared/OEM/DLLShared:/cygdrive/c/Program Files (x86)/Common Files/Roxio Shared/OEM/DLLShared:/cygdrive/c/Program Files (x86)/Common Files/Roxio Shared/OEM/12.0/DLLShared:/cygdrive/c/Program Files (x86)/Roxio/OEM/AudioCore:/usr/lib/lapack:$HOME/local/bin"
71
+
72
+# Set up the display variable to get an automatique display in the X server
73
+export DISPLAY=:0.0
74
+