WIP
This commit is contained in:
parent
b73c4b26a4
commit
205c12a051
|
@ -20,7 +20,7 @@ update_process_names=0
|
||||||
account_guest_in_cpu_meter=0
|
account_guest_in_cpu_meter=0
|
||||||
color_scheme=0
|
color_scheme=0
|
||||||
delay=15
|
delay=15
|
||||||
left_meters=AllCPUs Memory Swap
|
left_meters=LeftCPUs2 Memory Swap
|
||||||
left_meter_modes=1 1 1
|
left_meter_modes=1 1 1
|
||||||
right_meters=RightCPUs2 Tasks LoadAverage Uptime
|
right_meters=RightCPUs2 Tasks LoadAverage Uptime
|
||||||
right_meter_modes=1 2 2 2
|
right_meter_modes=1 2 2 2
|
||||||
|
|
|
@ -50,9 +50,6 @@ exec 'source ' . commandsfile
|
||||||
let bindingsfile=$vimdir.'/bindings.vim'
|
let bindingsfile=$vimdir.'/bindings.vim'
|
||||||
exec 'source ' . bindingsfile
|
exec 'source ' . bindingsfile
|
||||||
|
|
||||||
" colors
|
|
||||||
let &t_Co=16
|
|
||||||
|
|
||||||
" load a per-environment file if one exists
|
" load a per-environment file if one exists
|
||||||
if filereadable(expand('$HOME/.env_init_after.vim'))
|
if filereadable(expand('$HOME/.env_init_after.vim'))
|
||||||
source "$HOME/.env_init_after.vim"
|
source "$HOME/.env_init_after.vim"
|
||||||
|
|
|
@ -91,6 +91,7 @@ endif
|
||||||
|
|
||||||
" color scheme
|
" color scheme
|
||||||
let base16colorspace=16
|
let base16colorspace=16
|
||||||
|
let &t_Co=16
|
||||||
set background=dark
|
set background=dark
|
||||||
syntax enable
|
syntax enable
|
||||||
colorscheme base16-donokai
|
colorscheme base16-donokai
|
||||||
|
|
|
@ -46,4 +46,4 @@ SETUVAR fish_pager_color_completion:\x1d
|
||||||
SETUVAR fish_pager_color_description:yellow\x1eyellow
|
SETUVAR fish_pager_color_description:yellow\x1eyellow
|
||||||
SETUVAR fish_pager_color_prefix:white\x1e\x2d\x2dunderline
|
SETUVAR fish_pager_color_prefix:white\x1e\x2d\x2dunderline
|
||||||
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
|
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
|
||||||
SETUVAR fish_user_paths:/home/daniel/\x2ehome/\x2elocal/bin\x1e/home/daniel/\x2ehome/\x2elocal/bin\x1e/home/daniel/\x2ehome/\x2elocal/bin\x1e/home/daniel/\x2ehome/\x2ego\x1e/home/daniel/\x2ehome/\x2ego/bin\x1e/home/daniel/\x2ehome/\x2econfig/dotfiles/bin\x1e/home/daniel/\x2ehome/\x2eenv/bin\x1e/home/daniel/\x2ehome/\x2ebin\x1e/home/daniel/\x2ehome/\x2ecargo/bin\x1e/home/daniel/\x2ehome/\x2eyarn/bin
|
SETUVAR fish_user_paths:/home/daniel/\x2ehome/\x2elocal/bin\x1e/home/daniel/\x2ehome/\x2elocal/bin\x1e/home/daniel/\x2ehome/\x2elocal/bin\x1e/home/daniel/\x2ehome/\x2ego\x1e/home/daniel/\x2ehome/\x2econfig/dotfiles/bin\x1e/home/daniel/\x2ehome/\x2eenv/bin\x1e/home/daniel/\x2ehome/\x2ebin\x1e/home/daniel/\x2ehome/\x2ecargo/bin\x1e/home/daniel/\x2ehome/\x2eyarn/bin
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
[[
|
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Base16 <%= @.scheme %> - Shell color setup script
|
# Base16 <%= @.scheme %> - Shell color setup script
|
||||||
# <%= @author %>
|
# <%= @author %>
|
||||||
|
|
|
@ -15,7 +15,8 @@ uuid="$(uuidgen -t)"
|
||||||
[ ! -f "${f}" ] && echo "File '$f' does not exist. Exiting." >&2 && exit 1
|
[ ! -f "${f}" ] && echo "File '$f' does not exist. Exiting." >&2 && exit 1
|
||||||
|
|
||||||
ssh ld mkdir -p "${internal_dir}"
|
ssh ld mkdir -p "${internal_dir}"
|
||||||
rsync_output="$(rsync --stats --ignore-existing "${f}" "${HOST}:${internal_dir}/${fname}")"
|
rsync_output="$(rsync --no-owner --no-group --no-perms --stats --ignore-existing "${f}" "${HOST}:${internal_dir}/${fname}")"
|
||||||
|
ssh ld chmod a+r "${internal_dir}/${fname}"
|
||||||
num_uploaded="$(<<< "${rsync_output}" grep -oP "Number of created files: \K\d+")"
|
num_uploaded="$(<<< "${rsync_output}" grep -oP "Number of created files: \K\d+")"
|
||||||
|
|
||||||
if [[ $num_uploaded -eq 1 ]]; then
|
if [[ $num_uploaded -eq 1 ]]; then
|
||||||
|
|
Reference in a new issue