Scripting helper package for the fish shell.
Using fisher
:
fisher install lewisacidic/fish-scripting
Fish abbreviations replace typed text with an extended command after pressing or .
abbreviation | result | description |
---|---|---|
.. |
cd .. |
go up one directory |
... |
cd ../.. |
go up two directories |
.... |
cd ../../.. |
go up three directories |
..... |
cd ../../../.. |
go up four directories |
.4 |
cd ../../.. |
go up three directories |
.5 |
cd ../../../.. |
go up four directories |
~ |
cd ~ |
go to home directory |
/ |
cd \ |
go to root directory |
- |
cd - |
go to previous directory |
ll |
ls -lhA |
list all contents of directory in long human readable form |
l. |
ls -a |
list hidden contents of directory |
md |
mkdir -p |
make directory and parents as needed |
rd |
rmdir |
remove directory |
mkdir |
mkdir -p |
make directory and parents as neeed |
rm |
rm -r |
remove files recursively |
rmrf |
rm -rf |
remove files forcefully and recursively |
cp |
cp -r |
copy files recursively |
ln |
ln -s |
make symlink |