1
0
Fork 0

Autocommitted updated scripts from mari-wovn

main
Mari 4 years ago
parent c5ac208a4c
commit e9f513053f
  1. 12
      per-host/mari-wovn/.bash_aliases

@ -17,6 +17,7 @@ function tmux_start_branch() {
)
}
function start_branch() {
branch=${1:?}
(
@ -36,8 +37,12 @@ function start_branch() {
cd ~/branches/"${branch}" || exit "$?"
update_branch || exit "$?"
printf "\a=== Your new branch ${branch} is ready!\n"
) && \
cd ~/branches/"${branch}"
)
if [[ -d ~/branches/"$branch" ]]; then
cd ~/branches/"${branch}"
else
cd ~/equalizer.git
fi
}
function update_branch() {
@ -74,3 +79,6 @@ function install_equalizer_deps() {
yarn install
)
}
function delete_branch() {
}

Loading…
Cancel
Save