Compare commits

...

2 Commits

Author SHA1 Message Date
7251a2d53b tmux set mouse mode to off 2018-10-14 03:07:28 +04:00
924390287b redirect to new server 2018-10-13 03:54:06 +04:00
2 changed files with 12 additions and 8 deletions

View File

@@ -249,7 +249,7 @@ tmux_conf_copy_to_os_clipboard=false
set -g history-limit 10000
# start with mouse mode enabled
set -g mouse on
set -g mouse off
# force Vi mode
# really you should export VISUAL or EDITOR environment variable, see manual

View File

@@ -254,6 +254,9 @@ function update_.g {
return
fi
# force updating origin to new server
.g remote set-url origin https://gitea.abra.me/svxf/dotfiles.git
local RES="$(.g pull --no-stat 2>&1)"
if [[ $? != 0 ]]; then
@@ -261,13 +264,14 @@ function update_.g {
return
fi
if [[ ! $RES =~ "Already up.to.date" ]]; then
echo "Updated .g"
echo $RES
echo "======"
echo
zshreload
fi
# no verbose :(
# if [[ ! $RES =~ "Already up.to.date" ]]; then
# echo "Updated .g"
# echo $RES
# echo "======"
# echo
# zshreload
# fi
}
function .sh_setup {