structural change
This commit is contained in:
parent
9f5463234c
commit
9f82db520d
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,5 +1,5 @@
|
||||
# zshrc.d
|
||||
zshrc.d/*.zsh
|
||||
.zshrc.d/*.zsh
|
||||
|
||||
# ---> Linux
|
||||
*~
|
||||
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
[submodule "bin"]
|
||||
path = bin
|
||||
url = https://git.mount-mockery.de/dirk/bin.git
|
@ -112,7 +112,7 @@ fi
|
||||
|
||||
# You may want to put all your additions into a folder file like
|
||||
# ~/.config_files/zshrc.d, instead of adding them here directly.
|
||||
for file in ~/.config_files/zshrc.d/*.zsh; do
|
||||
for file in ~/.zshrc.d/*.zsh; do
|
||||
source "$file"
|
||||
done
|
||||
|
7
.zshrc.d/my_defaults
Executable file
7
.zshrc.d/my_defaults
Executable file
@ -0,0 +1,7 @@
|
||||
ln -vs __available__/bin.zsh
|
||||
ln -vs __available__/dd.zsh
|
||||
ln -vs __available__/less.zsh
|
||||
ln -vs __available__/neofetch.zsh
|
||||
ln -vs __available__/prompt_color.zsh
|
||||
ln -vs __available__/prompt_powerline.zsh
|
||||
|
4
.zshrc.d/root_defaults
Executable file
4
.zshrc.d/root_defaults
Executable file
@ -0,0 +1,4 @@
|
||||
ln -vs __available__/less.zsh
|
||||
ln -vs __available__/prompt_color.zsh
|
||||
ln -vs __available__/prompt_powerline.zsh
|
||||
|
12
add_bin
Executable file
12
add_bin
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/zsh
|
||||
#
|
||||
SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
||||
|
||||
if [[ (-e ~/bin) ]]; then
|
||||
echo "A ssh configuration already exists (~/bin)"
|
||||
echo "Remove this configuration and start the script again"
|
||||
else
|
||||
echo "Creating link"
|
||||
ln -vs $SCRIPTPATH/bin ~/bin
|
||||
fi
|
||||
|
12
add_powerline
Executable file
12
add_powerline
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/zsh
|
||||
#
|
||||
SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
||||
|
||||
if [[ (-e ~/.config/powerline) ]]; then
|
||||
echo "A powerline configuration already exists (~/.config/powerline)"
|
||||
echo "Remove this configuration and start the script again"
|
||||
else
|
||||
echo "Creating link"
|
||||
ln -vs $SCRIPTPATH/.config/powerline ~/.config/powerline
|
||||
fi
|
||||
|
12
add_ssh_config
Executable file
12
add_ssh_config
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/zsh
|
||||
#
|
||||
SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
||||
|
||||
if [[ (-e ~/.ssh/config) ]]; then
|
||||
echo "A ssh configuration already exists (~/.ssh/config)"
|
||||
echo "Remove this configuration and start the script again"
|
||||
else
|
||||
echo "Creating link"
|
||||
ln -vs $SCRIPTPATH/.ssh/config ~/.ssh/config
|
||||
fi
|
||||
|
12
add_tmux
Executable file
12
add_tmux
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/zsh
|
||||
#
|
||||
SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
||||
|
||||
if [[ (-e ~/.tmux.conf) ]]; then
|
||||
echo "A tmux configuration already exists (~/.tmux.conf)"
|
||||
echo "Remove this configuration and start the script again"
|
||||
else
|
||||
echo "Creating link"
|
||||
ln -vs $SCRIPTPATH/.tmux.conf ~/.tmux.conf
|
||||
fi
|
||||
|
13
add_vim
Executable file
13
add_vim
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/zsh
|
||||
#
|
||||
SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
||||
|
||||
if [[ (-e ~/.vimrc || -e ~/.vim/skeletons) ]]; then
|
||||
echo "A vim configuration already exists (~/.vimrc or ~/.vim/skeletons)"
|
||||
echo "Remove this configuration and start the script again"
|
||||
else
|
||||
echo "Creating base links"
|
||||
ln -vs $SCRIPTPATH/.vimrc ~/.vimrc
|
||||
ln -vs $SCRIPTPATH/.vim/skeletons ~/.vim/skeletons
|
||||
fi
|
||||
|
13
add_zshrc
Executable file
13
add_zshrc
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/zsh
|
||||
#
|
||||
SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
||||
|
||||
if [[ (-e ~/.zshrc || -e ~/.zshrc.d) ]]; then
|
||||
echo "A zsh configuration already exists (~/.zshrc or ~/.zshrc.d)"
|
||||
echo "Remove this configuration and start the script again"
|
||||
else
|
||||
echo "Creating base links"
|
||||
ln -vs $SCRIPTPATH/.zshrc ~/.zshrc
|
||||
ln -vs $SCRIPTPATH/.zshrc.d ~/.zshrc.d
|
||||
fi
|
||||
|
1
bin
Submodule
1
bin
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit c04d69dab8b8a0e8a62e4822fb580ba69f045e9b
|
@ -1,7 +0,0 @@
|
||||
ln -s __available__/bin.zsh
|
||||
ln -s __available__/dd.zsh
|
||||
ln -s __available__/less.zsh
|
||||
ln -s __available__/neofetch.zsh
|
||||
ln -s __available__/prompt_color.zsh
|
||||
ln -s __available__/prompt_powerline.zsh
|
||||
|
@ -1,4 +0,0 @@
|
||||
ln -s __available__/less.zsh
|
||||
ln -s __available__/prompt_color.zsh
|
||||
ln -s __available__/prompt_powerline.zsh
|
||||
|
Loading…
x
Reference in New Issue
Block a user