structure change caused by ansible automation
This commit is contained in:
parent
c53edb2d12
commit
4d4d6e3268
13
.ssh/config
13
.ssh/config
@ -29,10 +29,17 @@ Host buche_tmux
|
||||
RequestTTY yes
|
||||
RemoteCommand tmux attach-session -t default_ssh || tmux new-session -s default_ssh
|
||||
|
||||
Host erle_tmux
|
||||
HostName erle
|
||||
Host erle
|
||||
HostName localhost
|
||||
User dirk
|
||||
Port 22
|
||||
Port 2022
|
||||
ProxyJump firewall
|
||||
|
||||
Host erle_tmux
|
||||
HostName localhost
|
||||
User dirk
|
||||
Port 2022
|
||||
ProxyJump firewall
|
||||
RequestTTY yes
|
||||
RemoteCommand tmux attach-session -t default_ssh || tmux new-session -s default_ssh
|
||||
|
||||
|
@ -1,9 +0,0 @@
|
||||
ln -vs __available__/bin.zsh
|
||||
ln -vs __available__/less.zsh
|
||||
ln -vs __available__/ctools.zsh
|
||||
ln -vs __available__/hostname_welcome.zsh
|
||||
ln -vs __available__/prompt_color.zsh
|
||||
ln -vs __available__/prompt_autosuggest.zsh
|
||||
ln -vs __available__/prompt_kali.zsh
|
||||
ln -vs __available__/todo.zsh
|
||||
|
17
add_bash
17
add_bash
@ -1,17 +0,0 @@
|
||||
#!/bin/zsh
|
||||
#
|
||||
SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
||||
|
||||
if [[ (-e ~/.bashrc.d) ]]; then
|
||||
echo "A bash configuration already exists (~/.bashrc.d)"
|
||||
echo "Remove this configuration and start the script again"
|
||||
else
|
||||
echo "Creating base link"
|
||||
ln -vs $SCRIPTPATH/.bashrc.d ~/.bashrc.d
|
||||
fi
|
||||
|
||||
GS=`grep .bashrc.d ~/.bashrc`
|
||||
if [ ${#GS} -eq 0 ]; then
|
||||
echo "Adding execution of scripts in ~.bashrc.d"
|
||||
cat ~/.bashrc.d/BASHRC_ADDON >> ~/.bashrc
|
||||
fi
|
12
add_bin
12
add_bin
@ -1,12 +0,0 @@
|
||||
#!/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
|
||||
|
@ -1,12 +0,0 @@
|
||||
#!/bin/zsh
|
||||
#
|
||||
SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
||||
|
||||
if [[ (-e ~/.nemo.json) ]]; then
|
||||
echo "A nemo configuration already exists (~/.nemo.json)"
|
||||
echo "Remove this configuration and start the script again"
|
||||
else
|
||||
echo "Creating link"
|
||||
ln -vs $SCRIPTPATH/.nemo.json ~/
|
||||
fi
|
||||
|
@ -1,12 +0,0 @@
|
||||
#!/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
|
||||
|
@ -1,12 +0,0 @@
|
||||
#!/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
12
add_tmux
@ -1,12 +0,0 @@
|
||||
#!/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
|
||||
|
21
add_vim
21
add_vim
@ -1,21 +0,0 @@
|
||||
#!/bin/zsh
|
||||
#
|
||||
SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
||||
|
||||
|
||||
if [[ ! -e ~/.vim ]]; then
|
||||
mkdir -v ~/.vim
|
||||
fi
|
||||
|
||||
if [[ ! -e ~/.cache/vim ]]; then
|
||||
mkdir -v ~/.cache/vim
|
||||
fi
|
||||
|
||||
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
13
add_zshrc
@ -1,13 +0,0 @@
|
||||
#!/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
|
||||
|
14
my_defaults
14
my_defaults
@ -1,14 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
|
||||
# general configurations
|
||||
./add_bin
|
||||
./add_nemo_config
|
||||
./add_ssh_config
|
||||
./add_tmux
|
||||
./add_vim
|
||||
./add_zshrc
|
||||
|
||||
# zshrc.d configurations
|
||||
./.zshrc.d/add_defaults
|
||||
|
@ -1,12 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
|
||||
# general configurations
|
||||
./add_bin
|
||||
./add_tmux
|
||||
./add_vim
|
||||
./add_zshrc
|
||||
|
||||
# zshrc.d configurations
|
||||
./.zshrc.d/add_defaults
|
||||
|
Loading…
x
Reference in New Issue
Block a user