Kaynağa Gözat

Change name to scripts directory

master
Arun Prakash Jana 7 yıl önce
ebeveyn
işleme
e2cde6c325
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: A75979F35C080412
4 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. +1
    -1
      README.md
  2. +0
    -0
      scripts/quitcd/quitcd.bash
  3. +0
    -0
      scripts/quitcd/quitcd.fish
  4. +0
    -0
      scripts/quitcd/quitcd.zsh

+ 1
- 1
README.md Dosyayı Görüntüle

@@ -302,7 +302,7 @@ To jump to the n<sup>th</sup> level parent, with PWD at level 0, use `n + 1` dot

#### cd on quit

Pick the appropriate file for your shell from [misc/quitcd](https://github.com/jarun/nnn/tree/master/misc/quitcd) and add the contents to your shell's rc file. You'll need to spawn a new shell for the change to take effect. You should start `nnn` as `n` (or modify the function name to something else).
Pick the appropriate file for your shell from [scripts/quitcd](https://github.com/jarun/nnn/tree/master/scripts/quitcd) and add the contents to your shell's rc file. You'll need to spawn a new shell for the change to take effect. You should start `nnn` as `n` (or modify the function name to something else).

As you might notice, `nnn` uses the environment variable `NNN_TMPFILE` to write the last visited directory path. You can change it.



misc/quitcd/quitcd.bash → scripts/quitcd/quitcd.bash Dosyayı Görüntüle


misc/quitcd/quitcd.fish → scripts/quitcd/quitcd.fish Dosyayı Görüntüle


misc/quitcd/quitcd.zsh → scripts/quitcd/quitcd.zsh Dosyayı Görüntüle


Yükleniyor…
İptal
Kaydet