]> git.phdru.name Git - dotfiles.git/commitdiff
.bashrc: Indent 4 spaces
authorOleg Broytman <phd@phdru.name>
Sat, 8 Oct 2022 10:20:25 +0000 (13:20 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 8 Oct 2022 10:20:25 +0000 (13:20 +0300)
.bashrc

diff --git a/.bashrc b/.bashrc
index 7a874bf93d1511cc1c6afa9e288d66d8a92d481e..f1614c8cc87f611affab941799080df18c507c77 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -301,13 +301,13 @@ if [ "$SHLVL" -eq 1 -a "`type -t X`" = function ] && which startx >/dev/null 2>&
     # From https://stackoverflow.com/a/18839557
 
     copy_function() {
-      test -n "$(declare -f "$1")" || return
-      eval "${_/$1/$2}"
+        test -n "$(declare -f "$1")" || return
+        eval "${_/$1/$2}"
     }
 
     rename_function() {
-      copy_function "$@" || return
-      unset -f "$1"
+        copy_function "$@" || return
+        unset -f "$1"
     }
 
     rename_function X _non_bash_X