Browse Source

Move host-specific Bash config to external storage

Alois Mahdal 9 years ago
parent
commit
91cc299701

+ 1
- 0
dotfiles/bash/host View File

@@ -0,0 +1 @@
1
+../../external/dotfiles/bash/host

+ 0
- 59
dotfiles/bash/host/azzgoat.bashrc View File

@@ -1,59 +0,0 @@
1
-#!/bin/bash
2
-
3
-### .... ###
4
-### BASH ###
5
-### '''' ###
6
-
7
-make_ps1h() {
8
-    echo "$red\h$normal";
9
-}
10
-
11
-# my tools as aliases
12
-alias      winpdb="$HOME/local/winpdb/winpdb"
13
-alias        node="$HOME/local/node/bin/node"
14
-alias         npm="$HOME/local/node/bin/npm"
15
-alias         tap="./node_modules/tap/bin/tap.js"
16
-alias  tap-reader="./node_modules/tap/bin/tap-reader.js"
17
-
18
-alias diff="colordiff -u"
19
-
20
-
21
-### ...... ###
22
-### OTHERS ###
23
-### '''''' ###
24
-
25
-# tame minions
26
-export PERL5LIB="$PERL5LIB:$HOME/lib/minions/lib"
27
-export PERL5LIB="$PERL5LIB:$HOME/local/gnucash-importer/lib"
28
-
29
-export EDITOR='vim'
30
-
31
-### ................ ###
32
-### SET UP SSH-AGENT ###
33
-### '''''''''''''''' ###
34
-
35
-# http://mah.everybody.org/docs/ssh#run-ssh-agent
36
-
37
-SSH_ENV="$HOME/.ssh/environment"
38
-
39
-function start_agent {
40
-     echo "Initialising new SSH agent..."
41
-     /usr/bin/ssh-agent | sed 's/^echo/#echo/' > "${SSH_ENV}"
42
-     echo succeeded
43
-     chmod 600 "${SSH_ENV}"
44
-     . "${SSH_ENV}" > /dev/null
45
-     /usr/bin/ssh-add;
46
-}
47
-
48
-# Source SSH settings, if applicable
49
-
50
-if [ -f "${SSH_ENV}" ]; then
51
-     . "${SSH_ENV}" > /dev/null
52
-     #ps ${SSH_AGENT_PID} doesn't work under cywgin
53
-     ps -ef | grep ${SSH_AGENT_PID} | grep ssh-agent$ > /dev/null || {
54
-         start_agent;
55
-     }
56
-else
57
-     start_agent;
58
-fi
59
-

+ 0
- 23
dotfiles/bash/host/hugo.bashrc View File

@@ -1,23 +0,0 @@
1
-#!/bin/bash
2
-
3
-### .... ###
4
-### BASH ###
5
-### '''' ###
6
-
7
-make_ps1h() {
8
-    echo "$lblack\h$normal";
9
-}
10
-
11
-# my tools as aliases
12
-alias tap="./node_modules/tap/bin/tap.js"
13
-alias tap-reader="./node_modules/tap/bin/tap-reader.js"
14
-alias diff="colordiff -u"
15
-
16
-
17
-### ...... ###
18
-### OTHERS ###
19
-### '''''' ###
20
-
21
-export PERL5LIB="$PERL5LIB:$HOME/lib/minions/lib"
22
-export PERL5LIB="$PERL5LIB:$HOME/local/gnucash-importer/lib"
23
-export EDITOR="vim"

+ 0
- 22
dotfiles/bash/host/newmoon.bashrc View File

@@ -1,22 +0,0 @@
1
-#!/bin/bash
2
-
3
-### .... ###
4
-### BASH ###
5
-### '''' ###
6
-
7
-make_ps1h() {
8
-    echo "$lblue\h$normal";
9
-}
10
-
11
-# my tools as aliases
12
-alias diff="colordiff -u"
13
-
14
-
15
-### ...... ###
16
-### OTHERS ###
17
-### '''''' ###
18
-
19
-export PERL5LIB="$PERL5LIB:$HOME/lib/minions/lib"
20
-export PERL5LIB="$PERL5LIB:$HOME/local/gnucash-importer/lib"
21
-export EDITOR="vim"
22
-export PATH="$HOME/bin:$PATH"

+ 0
- 20
dotfiles/bash/host/tamtam.bashrc View File

@@ -1,20 +0,0 @@
1
-#!/bin/bash
2
-
3
-### .... ###
4
-### BASH ###
5
-### '''' ###
6
-
7
-make_ps1h() {
8
-    echo "$blue\h$normal";
9
-}
10
-
11
-# my tools as aliases
12
-alias diff="colordiff -u"
13
-
14
-
15
-### ...... ###
16
-### OTHERS ###
17
-### '''''' ###
18
-
19
-export PERL5LIB="$PERL5LIB:$HOME/lib/minions/lib"
20
-export PERL5LIB="$PERL5LIB:$HOME/local/gnucash-importer/lib"

+ 0
- 22
dotfiles/bash/host/tamten.bashrc View File

@@ -1,22 +0,0 @@
1
-#!/bin/bash
2
-
3
-### .... ###
4
-### BASH ###
5
-### '''' ###
6
-
7
-make_ps1h() {
8
-    echo "$blue\h$normal";
9
-}
10
-
11
-# my tools as aliases
12
-alias diff="colordiff -u"
13
-
14
-
15
-### ...... ###
16
-### OTHERS ###
17
-### '''''' ###
18
-
19
-export PERL5LIB="$PERL5LIB:$HOME/lib/minions/lib"
20
-export PERL5LIB="$PERL5LIB:$HOME/local/gnucash-importer/lib"
21
-export EDITOR="vim"
22
-export PATH="$HOME/bin:$PATH"