aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.tmux.conf3
-rw-r--r--.vimrc7
-rw-r--r--.zshrc2
-rwxr-xr-xbin/chrooted6
-rwxr-xr-xchroot/voidmusl.sh8
5 files changed, 21 insertions, 5 deletions
diff --git a/.tmux.conf b/.tmux.conf
index 7a824e4..a88b288 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -19,7 +19,8 @@ set -sg escape-time 0
set -g default-command /usr/bin/zsh
set -g default-shell /usr/bin/zsh
-set -g default-terminal "tmux-256color"
+set -g default-terminal "screen-256color"
+set -s set-clipboard external
set-option -g prefix C-a
set -g status-interval 120
diff --git a/.vimrc b/.vimrc
index 3f9be4b..e6598af 100644
--- a/.vimrc
+++ b/.vimrc
@@ -312,7 +312,7 @@ try
let g:airline#extensions#tabline#formatter = 'default'
let g:airline#extensions#ale#enabled = 1
let g:airline#extensions#branch#enabled = 1
- " let g:airline#extensions#xkblayout#enabled = 1
+ let g:airline#extensions#xkblayout#enabled = 1
catch
endtry
let g:airline_theme = 'jellybeans'
@@ -329,7 +329,7 @@ function! Airline_Custom()
\])
endfunction
autocmd user AirlineAfterInit call Airline_Custom()
-" let g:XkbSwitchLib = '/usr/local/lib/libxkbswitch.so'
+let g:XkbSwitchLib = '/usr/lib/libxkbswitch.so'
let g:airline_exclude_preview = 1
syntax on
@@ -1299,6 +1299,7 @@ let g:gutentags_plus_nomap = 1
map <leader>v <Plug>(Vman)
autocmd Filetype man setlocal relativenumber
autocmd Filetype man setlocal number
+" let g:vim_man_cmd = '/usr/bin/man'
"context
let g:context_enabled = 0
@@ -1534,7 +1535,7 @@ endif
"vimwiki
let wiki = {}
-let wiki.path = '~/vimwiki/'
+let wiki.path = '~/wikis/'
let wiki.nested_syntaxes = {'python': 'python', 'c++': 'cpp', 'c':'c', 'go':'go', 'javascript':'javascript', 'sh':'sh', 'yaml':'yaml', 'Dockerfile':'Dockerfile'}
let g:vimwiki_list = [wiki]
let g:vimwiki_global_ext = 0
diff --git a/.zshrc b/.zshrc
index b4d0662..e7d7d5b 100644
--- a/.zshrc
+++ b/.zshrc
@@ -244,7 +244,7 @@ REPORTTIME=4
STARDICT_DATA_DIR="/home/devi/.stardict"
export STARDICT_DATA_DIR
export LIBGL_ALWAYS_INDIRECT=1
-export PULSE_SERVER=tcp:192.168.1.103
+#export PULSE_SERVER=tcp:192.168.1.103
export VAGRANT_WSL_ENABLE_WINDOWS_ACCESS="1"
export WWW_HOME="duckduckgo.com"
alias def="sdcv --color"
diff --git a/bin/chrooted b/bin/chrooted
new file mode 100755
index 0000000..069bef6
--- /dev/null
+++ b/bin/chrooted
@@ -0,0 +1,6 @@
+#!/usr/bin/bash
+if [ "$(stat -c %d:%i /)" != "$(stat -c %d:%i /proc/1/root/.)" ]; then
+ echo "We are chrooted!"
+else
+ echo "Business as usual"
+fi
diff --git a/chroot/voidmusl.sh b/chroot/voidmusl.sh
new file mode 100755
index 0000000..21152d7
--- /dev/null
+++ b/chroot/voidmusl.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+CHROOT_DIR=/home/devi/rootfs/voidmusl
+sudo mount -t proc proc $CHROOT_DIR/proc/
+sudo mount -t sysfs sys $CHROOT_DIR/sys/
+sudo mount -o bind /tmp $CHROOT_DIR/tmp/
+sudo mount -o bind /dev $CHROOT_DIR/dev/
+sudo chroot $CHROOT_DIR