Score:0

`source ranger` only works on second invocation

in flag

I open a terminal then type source ranger I get

/usr/bin/ranger:17: command not found: zle_bracketed_paste

I type source ranger again and it works.

How can I fix this?

ranger --version

ranger version: ranger 1.9.3
Python version: 3.9.5 (default, May 11 2021, 08:20:37) [GCC 10.3.0]
Locale: en_US.UTF-8      

zsh --version

zsh 5.8 (x86_64-ubuntu-linux-gnu)  

I use oh-my-zsh.

Plugins:

plugins=(
  zsh-nvm
  git
  zsh-syntax-highlighting
  zsh-autosuggestions
  tmux
  timer
  safe-paste
  ripgrep
  history-substring-search
)

lsb_release -a

(base)  ~ lsb_release -a                        
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 21.04
Release:    21.04
Codename:   hirsute 

If any other dump is required please let me know.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.