Skip to content

Commit e8bbc0c

Browse files
authored
+gmaster
1 parent cd15cbb commit e8bbc0c

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

install.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,11 +250,13 @@ do
250250
done
251251

252252
echo "Setting up bash aliases ..."
253-
echo "
253+
cat >> ~/.bashrc << 'EOF'
254+
254255
alias del='mv -t ~/.Trash/'
255256
alias ls='exa -l'
256257
alias cat=bat
257-
" >> ~/.bash_profile
258+
alias gmaster='git fetch origin && git checkout $(git rev-parse --abbrev-ref origin/HEAD | sed "s|origin/||") && git merge --ff-only @{u}'
259+
EOF
258260
# https://github.com/twolfson/sexy-bash-prompt
259261
echo "Setting up bash prompt ..."
260262
# shellcheck source=/dev/null

0 commit comments

Comments
 (0)