diff options
author | tdro <tdro@users.noreply.github.com> | 2019-04-26 22:19:09 -0400 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2019-04-26 22:19:09 -0400 |
commit | 6d6b600146f00456d86adb17b4c2bda8f7fc5e8d (patch) | |
tree | 99bcae9cb7ec416645ffaceca9466ee49d40d7e6 /.config/ranger | |
parent | a22f91f75b76e03a7c7a22d5a1398c61a6107b96 (diff) | |
download | dotfiles-6d6b600146f00456d86adb17b4c2bda8f7fc5e8d.tar.gz dotfiles-6d6b600146f00456d86adb17b4c2bda8f7fc5e8d.tar.bz2 dotfiles-6d6b600146f00456d86adb17b4c2bda8f7fc5e8d.zip |
.config/ranger/commands.py: Get current directory files only with fzf_select
Diffstat (limited to '.config/ranger')
-rw-r--r-- | .config/ranger/commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/ranger/commands.py b/.config/ranger/commands.py index 076315b..8b130ff 100644 --- a/.config/ranger/commands.py +++ b/.config/ranger/commands.py @@ -23,7 +23,7 @@ class fzf_select(Command): def execute(self): import subprocess import os.path - fzf = self.fm.execute_command("fzf +m", universal_newlines=True, stdout=subprocess.PIPE) + fzf = self.fm.execute_command("ls -A1 --color=never | fzf +m", universal_newlines=True, stdout=subprocess.PIPE) stdout, stderr = fzf.communicate() if fzf.returncode == 0: fzf_file = os.path.abspath(stdout.rstrip('\n')) |