File tree Expand file tree Collapse file tree 2 files changed +37
-2
lines changed Expand file tree Collapse file tree 2 files changed +37
-2
lines changed Original file line number Diff line number Diff line change 1
1
# Bash dot Dee
2
2
3
+ ## TLDR;
4
+
5
+ curl -o - https://raw.githubusercontent.com/tobybatch/bashdotdee/refs/heads/main/install.sh | bash
6
+
7
+ ## Manual install
8
+
3
9
Adds function to my bash shell.
4
10
5
11
git clone https://github.com/tobybatch/bashdotdee.git $HOME/.bash.d
6
-
12
+
7
13
cat <<EOF>>.bashrc
8
14
PATH=\$PATH:\$HOME/.bash.d/bin
9
15
for x in ~/.bash.d/enabled/*.bash
@@ -16,3 +22,32 @@ Now use ```bash.d.sh -h``` to manage extensions.
16
22
17
23
New shells should now have added juice.
18
24
25
+ ## Usage
26
+
27
+ After installing open an new shell.
28
+
29
+ ### Shou usage
30
+
31
+ bash.d.sh -h
32
+
33
+ ### List modules
34
+
35
+ bash.d.sh -l
36
+
37
+ ### Enable a module
38
+
39
+ bash.d.sh -e <MODULE_NAME>
40
+
41
+ ### Disable a module
42
+
43
+ bash.d.sh -d <MODULE_NAME>
44
+
45
+ ### Examples
46
+
47
+ Enable batcat
48
+
49
+ bash.d.sh -e 11_batcat.bash
50
+
51
+ Disable python
52
+
53
+ bash.d.sh -d 14_python.bash
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- TARGET=/tmp
3
+ TARGET=$HOME
4
4
5
5
if [ ! -d " $TARGET /.bash.d" ]; then
6
6
git clone https://github.com/tobybatch/bashdotdee.git $TARGET /.bash.d
You can’t perform that action at this time.
0 commit comments