Browse Source

structural change

master
Dirk Alders 1 year ago
parent
commit
9f82db520d

powerline_gitstatus/colorschemes/default.json → .config/powerline/colorschemes/default.json View File


powerline_gitstatus/config.json → .config/powerline/config.json View File


powerline_gitstatus/themes/shell/default.json → .config/powerline/themes/shell/default.json View File


powerline_gitstatus/themes/shell/default_right.json → .config/powerline/themes/shell/default_right.json View File


powerline_gitstatus/themes/vim/default.json → .config/powerline/themes/vim/default.json View File


+ 1
- 1
.gitignore View File

@@ -1,5 +1,5 @@
1 1
 # zshrc.d
2
-zshrc.d/*.zsh
2
+.zshrc.d/*.zsh
3 3
 
4 4
 # ---> Linux
5 5
 *~

+ 3
- 0
.gitmodules View File

@@ -0,0 +1,3 @@
1
+[submodule "bin"]
2
+	path = bin
3
+	url = https://git.mount-mockery.de/dirk/bin.git

ssh_config → .ssh/config View File


tmux.conf → .tmux.conf View File


vim_skeletons/class.py → .vim/skeletons/class.py View File


vimrc → .vimrc View File


zshrc → .zshrc View File

@@ -112,7 +112,7 @@ fi
112 112
 
113 113
 # You may want to put all your additions into a folder file like
114 114
 # ~/.config_files/zshrc.d, instead of adding them here directly.
115
-for file in ~/.config_files/zshrc.d/*.zsh; do
115
+for file in ~/.zshrc.d/*.zsh; do
116 116
     source "$file"
117 117
 done
118 118
 

zshrc.d/__available__/bin.zsh → .zshrc.d/__available__/bin.zsh View File


zshrc.d/__available__/dd.zsh → .zshrc.d/__available__/dd.zsh View File


zshrc.d/__available__/less.zsh → .zshrc.d/__available__/less.zsh View File


zshrc.d/__available__/neofetch.zsh → .zshrc.d/__available__/neofetch.zsh View File


zshrc.d/__available__/prompt_adam1.zsh → .zshrc.d/__available__/prompt_adam1.zsh View File


zshrc.d/__available__/prompt_color.zsh → .zshrc.d/__available__/prompt_color.zsh View File


zshrc.d/__available__/prompt_kali.zsh → .zshrc.d/__available__/prompt_kali.zsh View File


zshrc.d/__available__/prompt_powerline.zsh → .zshrc.d/__available__/prompt_powerline.zsh View File


zshrc.d/__available__/ssh.zsh → .zshrc.d/__available__/ssh.zsh View File


zshrc.d/__available__/tmux.zsh → .zshrc.d/__available__/tmux.zsh View File


+ 7
- 0
.zshrc.d/my_defaults View File

@@ -0,0 +1,7 @@
1
+ln -vs __available__/bin.zsh
2
+ln -vs __available__/dd.zsh
3
+ln -vs __available__/less.zsh
4
+ln -vs __available__/neofetch.zsh
5
+ln -vs __available__/prompt_color.zsh
6
+ln -vs __available__/prompt_powerline.zsh
7
+

+ 4
- 0
.zshrc.d/root_defaults View File

@@ -0,0 +1,4 @@
1
+ln -vs __available__/less.zsh
2
+ln -vs __available__/prompt_color.zsh
3
+ln -vs __available__/prompt_powerline.zsh
4
+

+ 12
- 0
add_bin View File

@@ -0,0 +1,12 @@
1
+#!/bin/zsh
2
+#
3
+SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
4
+
5
+if [[ (-e ~/bin) ]]; then
6
+    echo "A ssh configuration already exists (~/bin)"
7
+    echo "Remove this configuration and start the script again"
8
+else
9
+    echo "Creating link"
10
+    ln -vs $SCRIPTPATH/bin ~/bin
11
+fi
12
+

+ 12
- 0
add_powerline View File

@@ -0,0 +1,12 @@
1
+#!/bin/zsh
2
+#
3
+SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
4
+
5
+if [[ (-e ~/.config/powerline) ]]; then
6
+    echo "A powerline configuration already exists (~/.config/powerline)"
7
+    echo "Remove this configuration and start the script again"
8
+else
9
+    echo "Creating link"
10
+    ln -vs $SCRIPTPATH/.config/powerline ~/.config/powerline
11
+fi
12
+

+ 12
- 0
add_ssh_config View File

@@ -0,0 +1,12 @@
1
+#!/bin/zsh
2
+#
3
+SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
4
+
5
+if [[ (-e ~/.ssh/config) ]]; then
6
+    echo "A ssh configuration already exists (~/.ssh/config)"
7
+    echo "Remove this configuration and start the script again"
8
+else
9
+    echo "Creating link"
10
+    ln -vs $SCRIPTPATH/.ssh/config ~/.ssh/config
11
+fi
12
+

+ 12
- 0
add_tmux View File

@@ -0,0 +1,12 @@
1
+#!/bin/zsh
2
+#
3
+SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
4
+
5
+if [[ (-e ~/.tmux.conf) ]]; then
6
+    echo "A tmux configuration already exists (~/.tmux.conf)"
7
+    echo "Remove this configuration and start the script again"
8
+else
9
+    echo "Creating link"
10
+    ln -vs $SCRIPTPATH/.tmux.conf ~/.tmux.conf
11
+fi
12
+

+ 13
- 0
add_vim View File

@@ -0,0 +1,13 @@
1
+#!/bin/zsh
2
+#
3
+SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
4
+
5
+if [[ (-e ~/.vimrc || -e ~/.vim/skeletons) ]]; then
6
+    echo "A vim configuration already exists (~/.vimrc or ~/.vim/skeletons)"
7
+    echo "Remove this configuration and start the script again"
8
+else
9
+    echo "Creating base links"
10
+    ln -vs $SCRIPTPATH/.vimrc ~/.vimrc
11
+    ln -vs $SCRIPTPATH/.vim/skeletons ~/.vim/skeletons
12
+fi
13
+

+ 13
- 0
add_zshrc View File

@@ -0,0 +1,13 @@
1
+#!/bin/zsh
2
+#
3
+SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
4
+
5
+if [[ (-e ~/.zshrc || -e ~/.zshrc.d) ]]; then
6
+    echo "A zsh configuration already exists (~/.zshrc or ~/.zshrc.d)"
7
+    echo "Remove this configuration and start the script again"
8
+else
9
+    echo "Creating base links"
10
+    ln -vs $SCRIPTPATH/.zshrc ~/.zshrc
11
+    ln -vs $SCRIPTPATH/.zshrc.d ~/.zshrc.d
12
+fi
13
+

+ 1
- 0
bin

@@ -0,0 +1 @@
1
+Subproject commit c04d69dab8b8a0e8a62e4822fb580ba69f045e9b

+ 0
- 7
zshrc.d/my_defaults View File

@@ -1,7 +0,0 @@
1
-ln -s __available__/bin.zsh
2
-ln -s __available__/dd.zsh
3
-ln -s __available__/less.zsh
4
-ln -s __available__/neofetch.zsh
5
-ln -s __available__/prompt_color.zsh
6
-ln -s __available__/prompt_powerline.zsh
7
-

+ 0
- 4
zshrc.d/root_defaults View File

@@ -1,4 +0,0 @@
1
-ln -s __available__/less.zsh
2
-ln -s __available__/prompt_color.zsh
3
-ln -s __available__/prompt_powerline.zsh
4
-

Loading…
Cancel
Save