From e4c0640d321ccd5f681f0aae91f180259b97573d Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Fri, 31 Jan 2020 14:55:15 +0000 Subject: [PATCH] Tidy mycd and comment todo function --- shells/shared/functions | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/shells/shared/functions b/shells/shared/functions index 47b86553..fb814022 100644 --- a/shells/shared/functions +++ b/shells/shared/functions @@ -38,9 +38,6 @@ function mycd() { cd "$@" 2> /dev/null if [ $? = 0 ]; then # If we get here cd was successful - #if [ ! $TMUX ]; then - # pwd > ~/.current-folder - #fi ls else # If we get here, cd was not successful @@ -50,7 +47,7 @@ function mycd() { echo "Can't cd" fi fi - updatePath + #updatePath } alias cd="mycd" @@ -203,12 +200,12 @@ function themes() { fi } -function todo() { - wikidir=${${PWD%/public_html*}%/wiki*}/wiki - if [ -d "$wikidir" ]; then - $EDITOR "$wikidir/ToDo.md" - fi -} +#function todo() { +# wikidir=${${PWD%/public_html*}%/wiki*}/wiki +# if [ -d "$wikidir" ]; then +# $EDITOR "$wikidir/ToDo.md" +# fi +#} #This function toggles debug in wp-config function debugToggle(){