2 ms·
(Assuming you're using Bash as shell) If you want to get rid of this habit put this in /usr/local/bin/pico.sh or ~/bin/pico.sh #!/bin/bash echo "Type nano ins
by Fnoord 9y ago
(Assuming you're using Bash as shell)
If you want to get rid of this habit put this in /usr/local/bin/pico.sh or ~/bin/pico.sh
#!/bin/bash
echo "Type nano instead of pico..."
sleep 5
nano $*
Put in ~/.bashrc alias pico=~/bin/pico.sh (or /usr/local/bin/pico.sh)
Make sure to chmod +x the shell script.
You can also simply call it pico instead of pico.sh; then you won't have to use the ~/.bashrc addition.