move linux configs to .linux.
This commit is contained in:
parent
12d31e883c
commit
91d522a551
6
.gitignore
vendored
6
.gitignore
vendored
|
@ -47,10 +47,8 @@
|
|||
!/app/bin/**
|
||||
|
||||
# linux configs
|
||||
!/document/linux/
|
||||
/document/linux/*
|
||||
!/document/linux/config/
|
||||
!/document/linux/config/**
|
||||
!/.linux/
|
||||
!/.linux/**
|
||||
|
||||
# system configs
|
||||
!/.config/
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#home="/var/home/voronind"
|
||||
home="${HOME}"
|
||||
module="${home}/document/linux/config/bash/module/*.sh"
|
||||
module="${home}/.linux/bash/module/*.sh"
|
||||
|
||||
# src default
|
||||
if [[ -f /etc/bashrc ]]; then
|
2
.linux/bash/module/dconf.sh
Normal file
2
.linux/bash/module/dconf.sh
Normal file
|
@ -0,0 +1,2 @@
|
|||
alias dconf_load="dconf load / < $HOME/.linux/gnome.dconf" # load gnome settings.
|
||||
alias dconf_save="dconf dump / > $HOME/.linux/_gnome.dconf" # dump gnome settings to a file.
|
|
@ -22,8 +22,8 @@ tb()
|
|||
# initialize container.
|
||||
toolbox --container "$name" run sudo hostname "${HOSTNAME}-${name}"
|
||||
toolbox --container "$name" run sudo rm /root/.bashrc
|
||||
toolbox --container "$name" run sudo ln -s $HOME/document /root/document
|
||||
toolbox --container "$name" run sudo ln -s $HOME/document/linux/config/bash/bashrc.sh /root/.bashrc
|
||||
toolbox --container "$name" run sudo ln -s $HOME/.linux /root/.linux
|
||||
toolbox --container "$name" run sudo ln -s /root/.linux/bash/bashrc.sh /root/.bashrc
|
||||
|
||||
# enter container, finally.
|
||||
toolbox enter "$name"
|
|
@ -1,2 +0,0 @@
|
|||
alias dconf_load="dconf load / < $HOME/document/linux/config/gnome.dconf" # load gnome settings.
|
||||
alias dconf_save="dconf dump / > $HOME/document/linux/config/_gnome.dconf" # dump gnome settings to a file.
|
Reference in a new issue