From a62114c91f2070c8c8453d117f3d81dc113e41ff Mon Sep 17 00:00:00 2001 From: Biswakalyan Bhuyan Date: Mon, 25 Mar 2024 16:43:09 +0530 Subject: dotfile update --- zsh/oh-my-zsh/plugins/last-working-dir/README.md | 33 ------------------------ 1 file changed, 33 deletions(-) delete mode 100644 zsh/oh-my-zsh/plugins/last-working-dir/README.md (limited to 'zsh/oh-my-zsh/plugins/last-working-dir/README.md') diff --git a/zsh/oh-my-zsh/plugins/last-working-dir/README.md b/zsh/oh-my-zsh/plugins/last-working-dir/README.md deleted file mode 100644 index b5cc558..0000000 --- a/zsh/oh-my-zsh/plugins/last-working-dir/README.md +++ /dev/null @@ -1,33 +0,0 @@ -# last-working-dir plugin - -Keeps track of the last used working directory and automatically jumps into it -for new shells, unless the starting directory is not `$HOME`. - -Also adds a `lwd` function to jump to the last working directory. - -To use it, add `last-working-dir` to the plugins array in your zshrc file: - -```zsh -plugins=(... last-working-dir) -``` - -## Features - -### Use separate last-working-dir files with different SSH keys - -If the same user account is used by multiple users connecting via different SSH keys, you can -configure SSH to map them to different `SSH_USER`s and the plugin will use separate lwd files -for each one. - -Make sure that your SSH server allows environment variables. You can enable this feature -within the `/etc/sshd/sshd_config` file: - -``` -PermitUserEnvironment yes -``` - -Then, add `environment="SSH_USER="` before the SSH keys in your `authorized_keys` file: - -``` -environment="SSH_USER=a.test@example.com" ssh-ed25519 AAAAC3Nz... -``` -- cgit v1.2.3-59-g8ed1b