dotfiles

My personal dotfiles

commit f10b129acb6eee053651f7a5c0d4b37423e9427b
parent 3831a66ac3c4fde6df42e2cd5b03b5460e6ed5e6
Author: Pablo Emilio Escobar Gaviria <pablo-escobar@riseup.net>
Date:   Fri, 29 Jan 2021 11:23:10 -0300

Updated the dotfiles

Diffstat:
M.config/fish/functions/config.fish | 7++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/.config/fish/functions/config.fish b/.config/fish/functions/config.fish
@@ -34,13 +34,10 @@ function config
       | xargs git --git-dir="$HOME/Documents/dotfiles" --work-tree="$HOME" add
 
     # Commit the changes
-    and _call_git commit \
-      -m "Updated the dotfiles"
+    and _call_git commit -m "Updated the dotfiles"
 
     # Push the changes to all remotes
-    set remotes (_call_git remove -v | awk '{ print $1 }' | uniq)
-
-    for remote in $remotes
+    for remote in (_call_git remote -v | awk '{ print $1 }' | uniq)
       _call_git push "$remote" master
     end
   end