mirror of
https://github.com/Stunkymonkey/dotfiles.git
synced 2025-05-24 11:04:41 +02:00

Convert all shebangs to /usr/bin/env bash, if bash is really required in the script. Otherwise convert it to /bin/sh. /bin/bash is not available on all systems, while /usr/bin/env bash and /bin/sh are.
14 lines
153 B
Bash
Executable file
14 lines
153 B
Bash
Executable file
#!/bin/sh
|
|
|
|
#correct some fast tipped cds
|
|
function c {
|
|
if [ $1 == "d.." ]; then
|
|
cd ..;
|
|
pwd;
|
|
fi
|
|
if [ -d $1 ]; then
|
|
cd $1;
|
|
pwd;
|
|
fi
|
|
return 0;
|
|
}
|