aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHsieh Chin Fan <typebrook@gmail.com>2021-12-23 18:11:42 +0800
committerHsieh Chin Fan <typebrook@gmail.com>2021-12-23 18:11:42 +0800
commita480e3fcf165f2c201b9349573669d9698da42fe (patch)
tree297babf846d038084c4ece56881770ae172e04f7
parent2c7ae3439e9dd14585c0d6222c731d8e308d535f (diff)
update
-rw-r--r--alias12
-rw-r--r--misc/tmux.conf3
-rwxr-xr-xtools/init/load-settings.sh2
3 files changed, 16 insertions, 1 deletions
diff --git a/alias b/alias
index 64e2767..514a9f3 100644
--- a/alias
+++ b/alias
@@ -329,6 +329,18 @@ image.from_data_url() {
329 xsel -ob | sed -E 's/^.+,//' | base64 -d >$1 329 xsel -ob | sed -E 's/^.+,//' | base64 -d >$1
330 identify $1 330 identify $1
331} 331}
332image.text() {
333 convert \
334 -size 230x130 \
335 -background lightblue \
336 -font Noto-Sans-Bold \
337 -pointsize 25 \
338 -fill black \
339 -gravity NorthWest \
340 caption:"foo" \
341 -flatten \
342 caption1.jpge
343}
332 344
333# thunderbird 345# thunderbird
334alias thunder.pull='rsync -a --delete pham@topo.tw:~/.thunderbird/ ~/.thunderbird &' 346alias thunder.pull='rsync -a --delete pham@topo.tw:~/.thunderbird/ ~/.thunderbird &'
diff --git a/misc/tmux.conf b/misc/tmux.conf
index b620d5f..cbd88e3 100644
--- a/misc/tmux.conf
+++ b/misc/tmux.conf
@@ -1,3 +1,6 @@
1unbind C-b
2set-option -g prefix C-g
3
1new-session # Start a new session if none available 4new-session # Start a new session if none available
2bind C-q select-layout even-horizontal 5bind C-q select-layout even-horizontal
3bind C-w select-layout even-vertical 6bind C-w select-layout even-vertical
diff --git a/tools/init/load-settings.sh b/tools/init/load-settings.sh
index b8fb974..02aa6f3 100755
--- a/tools/init/load-settings.sh
+++ b/tools/init/load-settings.sh
@@ -4,7 +4,7 @@ source $SETTING_DIR/alias
4[[ -d $SETTING_DIR/private ]] && source $SETTING_DIR/private/* 4[[ -d $SETTING_DIR/private ]] && source $SETTING_DIR/private/*
5 5
6# Config shell 6# Config shell
7case $SHELL in 7case $0 in
8 *zsh) 8 *zsh)
9 setopt extended_glob 9 setopt extended_glob
10 fpath=($SETTING_DIR/zsh $fpath) 10 fpath=($SETTING_DIR/zsh $fpath)