Merge branch 'master' of github.com:SonnyBA/dotfiles
This commit is contained in:
commit
c86cb20422
3 changed files with 5 additions and 8 deletions
|
|
@ -18,7 +18,7 @@ add_ssh() {
|
||||||
sed -i 's/^#Port .*/Port '"$PORT"'/' $CONTAINER_PATH/etc/ssh/sshd_config
|
sed -i 's/^#Port .*/Port '"$PORT"'/' $CONTAINER_PATH/etc/ssh/sshd_config
|
||||||
sed -i 's/^#PermitRootLogin .*/PermitRootLogin yes/' $CONTAINER_PATH/etc/ssh/sshd_config
|
sed -i 's/^#PermitRootLogin .*/PermitRootLogin yes/' $CONTAINER_PATH/etc/ssh/sshd_config
|
||||||
|
|
||||||
touch $CONTAINER_PATH/root/.bash_profile
|
touch $CONTAINER_PATH/root/.profile
|
||||||
cat <<- 'EOF' > $CONTAINER_PATH/root/.bash_profile
|
cat <<- 'EOF' > $CONTAINER_PATH/root/.bash_profile
|
||||||
# Start ssh-agent and add keys in ~/.ssh directory
|
# Start ssh-agent and add keys in ~/.ssh directory
|
||||||
# Should only be used without a desktop manager
|
# Should only be used without a desktop manager
|
||||||
|
|
|
||||||
1
terminal-color
Normal file
1
terminal-color
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
#3b3b3b
|
||||||
10
vim/.vimrc
10
vim/.vimrc
|
|
@ -15,7 +15,7 @@ set tabstop=4 shiftwidth=4 softtabstop=4 expandtab
|
||||||
" Fold methods based on indents
|
" Fold methods based on indents
|
||||||
" zo to open folds, zc to close
|
" zo to open folds, zc to close
|
||||||
set foldmethod=indent
|
set foldmethod=indent
|
||||||
set foldlevel=99
|
set foldlevel=20
|
||||||
|
|
||||||
" Search down into subfolders
|
" Search down into subfolders
|
||||||
" Provides tab-completion for all file-related tasks
|
" Provides tab-completion for all file-related tasks
|
||||||
|
|
@ -35,13 +35,11 @@ colorscheme seagull
|
||||||
"Change theme depending on the time of day
|
"Change theme depending on the time of day
|
||||||
let hr = (strftime('%H'))
|
let hr = (strftime('%H'))
|
||||||
if hr >= 19
|
if hr >= 19
|
||||||
set background=dark
|
colorscheme base16-eighties
|
||||||
colorscheme spacemacs
|
|
||||||
elseif hr >= 8
|
elseif hr >= 8
|
||||||
colorscheme xcode
|
colorscheme xcode
|
||||||
elseif hr >= 0
|
elseif hr >= 0
|
||||||
set background=dark
|
colorscheme base16-eighties
|
||||||
colorscheme spacemacs
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Terminal colors
|
" Terminal colors
|
||||||
|
|
@ -94,8 +92,6 @@ au BufWinEnter * silent loadview
|
||||||
"files in current directory
|
"files in current directory
|
||||||
autocmd FileType python compiler pylint
|
autocmd FileType python compiler pylint
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
"Netrw options
|
"Netrw options
|
||||||
function! ToggleVExplorer()
|
function! ToggleVExplorer()
|
||||||
if exists("t:expl_buf_num")
|
if exists("t:expl_buf_num")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue