1
0
Fork 0
mirror of https://github.com/SinTan1729/random.git synced 2025-04-04 10:28:04 -05:00

fix: Redundant selector

This commit is contained in:
Sayantan Santra 2025-02-06 21:31:13 -06:00
parent 99a494ea1e
commit e3620e946b
Signed by: SinTan1729
GPG key ID: 0538DD402EA50898

View file

@ -3,7 +3,7 @@
# This script opens supported locations in my server by appropriately changing the
# mount locations for it to work over ssh.
ROOTDIR="$(echo $PWD | cut -d/ -f-2,3)"
ROOTDIR="$(echo $PWD | cut -d/ -f-3)"
if [ "$ROOTDIR" == "/mnt/server" ]; then
ssh -t server-ts-rsync "cd \"/mnt/storage/$(echo $PWD | cut -d/ -f4-)\"; fish -l"