X-Git-Url: https://src.twobees.de/?a=blobdiff_plain;f=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fplugins%2Flast-working-dir%2FREADME.md;fp=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fplugins%2Flast-working-dir%2FREADME.md;h=0000000000000000000000000000000000000000;hb=1a8e170bbe5c6641a26ab1ce2e6ce6c5c1faa4cd;hp=b5cc55828096751126b2430bcd02fd3e595e226f;hpb=475ba35502579302593f4735c853c49ef1845dcb;p=dotfiles.git diff --git a/stow/oh-my-zsh/.oh-my-zsh/plugins/last-working-dir/README.md b/stow/oh-my-zsh/.oh-my-zsh/plugins/last-working-dir/README.md deleted file mode 100644 index b5cc558..0000000 --- a/stow/oh-my-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... -```