summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAudric Schiltknecht <storm@chemicalstorm.org>2015-05-15 22:26:37 -0400
committerAudric Schiltknecht <storm@chemicalstorm.org>2015-05-15 22:26:37 -0400
commit98652fc237bf703e77c77edd93aabb7339f2f5e4 (patch)
tree76aeb207322fae47b5e175409030f4b37f3490ca
parentd8ec9d0fde288a45ee3e08d37dc2e9952b04528b (diff)
downloaddotfiles-98652fc237bf703e77c77edd93aabb7339f2f5e4.tar.gz
dotfiles-98652fc237bf703e77c77edd93aabb7339f2f5e4.tar.bz2
dotfiles-98652fc237bf703e77c77edd93aabb7339f2f5e4.zip
Create local bin directory
* Export it in $PATH * Add link to eg binary
-rw-r--r--bash/bashrc1
l---------bin/eg_exec.py1
-rwxr-xr-xinstall.sh5
3 files changed, 6 insertions, 1 deletions
diff --git a/bash/bashrc b/bash/bashrc
index 40e0b45..5d89e1a 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -40,6 +40,7 @@ alias mv='mv -i'
alias ..='cd ..'
export EDITOR=vim
+export PATH=${PATH}:~/bin
# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "$debian_chroot" -a -r /etc/debian_chroot ]; then
diff --git a/bin/eg_exec.py b/bin/eg_exec.py
new file mode 120000
index 0000000..ec829f7
--- /dev/null
+++ b/bin/eg_exec.py
@@ -0,0 +1 @@
+../applis/eg/eg_exec.py \ No newline at end of file
diff --git a/install.sh b/install.sh
index a64cb48..f298670 100755
--- a/install.sh
+++ b/install.sh
@@ -1,9 +1,10 @@
#!/bin/bash
# create the symbolic links to the files in this repository
-
cd `dirname $0`
+git submodule init --update
+
CURRENT_PATH=`pwd`
ln -s $CURRENT_PATH/bash/bashrc ~/.bashrc
@@ -18,3 +19,5 @@ ln -s $CURRENT_PATH/screenrc ~/.screenrc
ln -s $CURRENT_PATH/fonts ~/.fonts
fc-cache -vf ~/.fonts
+
+ln -s $CURRENT_PATH/bin ~/bin