Compare commits
2 Commits
24b2b79a28
...
7251a2d53b
Author | SHA1 | Date | |
---|---|---|---|
7251a2d53b | |||
924390287b |
@@ -249,7 +249,7 @@ tmux_conf_copy_to_os_clipboard=false
|
|||||||
set -g history-limit 10000
|
set -g history-limit 10000
|
||||||
|
|
||||||
# start with mouse mode enabled
|
# start with mouse mode enabled
|
||||||
set -g mouse on
|
set -g mouse off
|
||||||
|
|
||||||
# force Vi mode
|
# force Vi mode
|
||||||
# really you should export VISUAL or EDITOR environment variable, see manual
|
# really you should export VISUAL or EDITOR environment variable, see manual
|
||||||
|
@@ -254,6 +254,9 @@ function update_.g {
|
|||||||
return
|
return
|
||||||
fi
|
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)"
|
local RES="$(.g pull --no-stat 2>&1)"
|
||||||
|
|
||||||
if [[ $? != 0 ]]; then
|
if [[ $? != 0 ]]; then
|
||||||
@@ -261,13 +264,14 @@ function update_.g {
|
|||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! $RES =~ "Already up.to.date" ]]; then
|
# no verbose :(
|
||||||
echo "Updated .g"
|
# if [[ ! $RES =~ "Already up.to.date" ]]; then
|
||||||
echo $RES
|
# echo "Updated .g"
|
||||||
echo "======"
|
# echo $RES
|
||||||
echo
|
# echo "======"
|
||||||
zshreload
|
# echo
|
||||||
fi
|
# zshreload
|
||||||
|
# fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function .sh_setup {
|
function .sh_setup {
|
||||||
|
Reference in New Issue
Block a user