aboutsummaryrefslogtreecommitdiffstats
path: root/git
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-11-25 18:08:34 +0100
committerMattias Andrée <maandree@kth.se>2023-11-25 18:08:34 +0100
commit5b7e0db847c46affc207c327835d1efd3b2727de (patch)
tree764855cde8a304641a359e907157dc0525ff8a20 /git
parentUpdate dmenu to use different fonts (primary size due to different DPI, distance, and screen size) on different computers (diff)
downloaddotfiles-5b7e0db847c46affc207c327835d1efd3b2727de.tar.gz
dotfiles-5b7e0db847c46affc207c327835d1efd3b2727de.tar.bz2
dotfiles-5b7e0db847c46affc207c327835d1efd3b2727de.tar.xz
Misc updates
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'git')
-rw-r--r--git/Makefile2
-rw-r--r--git/bash-aliases9
2 files changed, 1 insertions, 10 deletions
diff --git a/git/Makefile b/git/Makefile
index 4d67fe2..8e57722 100644
--- a/git/Makefile
+++ b/git/Makefile
@@ -4,7 +4,7 @@ install:
mkdir -p -- ~/.config/git
test ! -e ~/.config/git/config || test -L ~/.config/git/config
test ! -e ~/.config/git/config || test -f ~/.config/git/config
- cat config ../.secrets/git/config >> .config
+ cat config ../.secrets/git/config > .config
ln -sf -- ~/.dotfiles/git/.config ~/.config/git/config
mkdir -p -- ~/.config/bash/aliases.d
test ! -d ~/.config/bash/aliases.d/git
diff --git a/git/bash-aliases b/git/bash-aliases
index 3552668..3b19a26 100644
--- a/git/bash-aliases
+++ b/git/bash-aliases
@@ -7,15 +7,6 @@ gitcomm () {
git commit --signoff -S"$GPG_KEY" -m "$*"
}
-ge () {
- if [ -z "$EDITOR" ]; then
- printf '\e[1;31m%s\e[0m\n' 'No default editor is set, please configure the environment variable EDITOR'
- else
- $EDITOR -- "$@"
- git add -- "$@"
- fi
-}
-
gitpush () {
git push -u origin `___git_branch_`
}