diff --git a/.zsh/functions.d/aliases.sh b/.zsh/functions.d/aliases.sh index 57ca94b2..0b84d71f 100644 --- a/.zsh/functions.d/aliases.sh +++ b/.zsh/functions.d/aliases.sh @@ -4,6 +4,7 @@ alias ....='cd ../../..' alias .....='cd ../../../..' alias c='clear' +alias cat='bat' alias gita='git add' alias gitc='git commit' @@ -16,11 +17,11 @@ alias kubectl="minikube kubectl --" alias l='ls --color' alias ls='ls --color' -alias lsa='ls -a --color' +alias lsa='ls --color -a' alias ll='ls --color -l' -alias lla='ls -la --color' -alias llh='ls -lh --color' -alias llah='ls -lah --color' +alias lla='ls --color -la' +alias llh='ls --color -lh' +alias llah='ls --color -lah' alias n='nnn -diUxe' diff --git a/.zsh/functions.d/home.sh b/.zsh/functions.d/home.sh index baa6accf..18b4c2a3 100644 --- a/.zsh/functions.d/home.sh +++ b/.zsh/functions.d/home.sh @@ -54,7 +54,7 @@ function home() { time_diff=$(($current_date-$last_update)) time_diff=$(($time_diff / 60 )) echo "Time difference: $time_diff minutes." - if (( time_diff > 86400 )) || [ "$2" = "f" ]; then + if (( time_diff > 1440 )) || [ "$2" = "f" ]; then echo "Updating home configuration..." if git pull; then if git submodule update --init --recursive; then