mirror of
https://github.com/Stunkymonkey/dotfiles.git
synced 2025-05-25 19:14:39 +02:00
initial commit
This commit is contained in:
commit
86a1da2632
35 changed files with 1162 additions and 0 deletions
13
shell/cd.sh
Executable file
13
shell/cd.sh
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue