First versions of the binaries and source file.

This commit is contained in:
Lea 2025-07-04 16:07:49 +02:00
parent d2630d6e4f
commit 1dfda10ddc
11 changed files with 742 additions and 0 deletions

19
short Executable file
View file

@ -0,0 +1,19 @@
#!/bin/bash
# short: Creates shortcuts that can be used anywhere.
# Can also be used as an alternative for "alias".
#
# Example usage:
# Add a shortcut: short -A dev "/home/john/Development"
# Print shortcut content: short dev -> "/home/john/Development"
# Remove shortcut: short -D dev
#
# One could use this to do things like:
# cp -R files $(short dev)
# cd $(short www)
# ssh $(short server)
#
# Uses a file named .shortcuts in $HOME
SHORT_FILE=$HOME/.shortcuts