From 09f6e97ac8af6d61b40b417e577e1e6a6e64e7e4 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 8 Oct 2022 13:20:25 +0300 Subject: [PATCH] .bashrc: Indent 4 spaces --- .bashrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.bashrc b/.bashrc index 7a874bf..f1614c8 100644 --- 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 -- 2.39.2