dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README

commit 6b172bb91af769c6c70133b57b74f8589379f91e
parent 9d2d33ddcbb06d80ac8b401c898783289a14e56d
Author: Pablo Cárdenas <pablo.cardenas@imca.edu.pe>
Date:   Sat, 21 May 2022 14:20:54 -0500

Avoid using cd in bash

Diffstat:
Mlinux/.bashrc | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/linux/.bashrc b/linux/.bashrc @@ -38,6 +38,8 @@ GPG_TTY=$(tty) #export GIT_PS1_SHOWDIRTYSTATE=1 PS1='[\u@\h \W] $(__git_ps1) \$ ' +cd () { echo "Use pushd!"; } + countdown() { start="$(( $(date '+%s') + $1))" while [ $start -ge $(date +%s) ]; do