From 0f1df0db903ba576fd17b08197d3066af7a61e5f Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 18 Nov 2023 23:23:40 +0100 Subject: A lot of changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- openssh | 1 + openssh/Makefile | 24 ------------------------ openssh/bash-aliases | 9 --------- 3 files changed, 1 insertion(+), 33 deletions(-) create mode 120000 openssh delete mode 100644 openssh/Makefile delete mode 100644 openssh/bash-aliases (limited to 'openssh') diff --git a/openssh b/openssh new file mode 120000 index 0000000..ffd8d03 --- /dev/null +++ b/openssh @@ -0,0 +1 @@ +ssh \ No newline at end of file diff --git a/openssh/Makefile b/openssh/Makefile deleted file mode 100644 index 6ee7512..0000000 --- a/openssh/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -.POSIX: -include ../common.mk - -install: - if test -L ~/.ssh; then \ - test "$$(readlink -- ~/.ssh)" = ~/.dotfiles/.secrets/ssh; \ - else \ - test ! -e ~/.ssh && \ - ln -sf -- ~/.dotfiles/.secrets/ssh ~/.ssh; \ - fi - mkdir -p -- ../.secrets/ssh - mkdir -p -- ~/.config/bash/aliases.d - test ! -d ~/.config/bash/aliases.d/openssh - ln -sf -- ~/.dotfiles/openssh/bash-aliases ~/.config/bash/aliases.d/openssh - -uninstall: - -if ! $(CHECK_INSTALLED) ssh 2>/dev/null && \ - ! $(CHECK_INSTALLED) openssh 2>/dev/null; then \ - unlink -- ~/.ssh; \ - unlink -- ~/.config/bash/aliases.d/openssh; \ - rmdir -- ~/.config/bash/aliases.d; \ - fi - -.PHONY: install uninstall diff --git a/openssh/bash-aliases b/openssh/bash-aliases deleted file mode 100644 index 38f7a01..0000000 --- a/openssh/bash-aliases +++ /dev/null @@ -1,9 +0,0 @@ -# -*- shell-script -*- - -if test -n "$DISPLAY"; then - alias sshhome="ssh -YC -p7777 mattias@maandree.ignorelist.com" -else - alias sshhome="ssh -p7777 mattias@maandree.ignorelist.com" -fi -alias sftphome="sftp -P7777 mattias@maandree.ignorelist.com" -alias scphome="scp -P7777" -- cgit v1.2.3-70-g09d2