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
|
||||
|
||||
# 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
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user