Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

1 votes
1 answers
1924 views
why is zsh oh-my-zsh prompt slow on ubuntu 22.04
I need some help determining why my shell is slow and what I can do to fix it. This is a new machine running Ubuntu 22.04. Not only does it start slow, but enter/return is also quite slow. I have tried commenting out all the plugins and custom config that was added but after restarting the terminal,...
I need some help determining why my shell is slow and what I can do to fix it. This is a new machine running Ubuntu 22.04. Not only does it start slow, but enter/return is also quite slow. I have tried commenting out all the plugins and custom config that was added but after restarting the terminal, I noticed no difference. .zshrc
# If you come from bash you might have to change your $PATH.
zmodload zsh/zprof
export PATH=$HOME/bin:/usr/local/bin:$PATH

# Path to your oh-my-zsh installation.
export ZSH="/home/kay/.oh-my-zsh"

# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes 
ZSH_THEME="agnoster"

# Set list of themes to pick from when loading at random
# Setting this variable when ZSH_THEME=random will cause zsh to load
# a theme from this variable instead of looking in $ZSH/themes/
# If set to an empty array, this variable will have no effect.
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )

# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"

# Uncomment the following line to use hyphen-insensitive completion.
# Case-sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"

# Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true"

# Uncomment the following line to automatically update without prompting.
# DISABLE_UPDATE_PROMPT="true"

# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13

# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS="true"

# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"

# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"

# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"

# Uncomment the following line to display red dots whilst waiting for completion.
# Caution: this setting can cause issues with multiline prompts (zsh 5.7.1 and newer seem to work)
# See https://github.com/ohmyzsh/ohmyzsh/issues/5765 
# COMPLETION_WAITING_DOTS="true"

# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"

# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# You can set one of the optional three formats:
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# or set a custom format using the strftime function format specifications,
# see 'man strftime' for details.
# HIST_STAMPS="mm/dd/yyyy"

# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder

# Which plugins would you like to load?
# Standard plugins can be found in $ZSH/plugins/
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git docker zsh-autosuggestions tmux brew)

#ZSH_TMUX_AUTOSTART=true
source $ZSH/oh-my-zsh.sh

# User configuration

# export MANPATH="/usr/local/man:$MANPATH"

# You may need to manually set your language environment
# export LANG=en_US.UTF-8

# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
#   export EDITOR='vim'
# else
#   export EDITOR='mvim'
# fi

# Compilation flags
# export ARCHFLAGS="-arch x86_64"

# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run alias.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
#

prompt_context() {
  if [[ "$USER" != "$DEFAULT_USER" || -n "$SSH_CLIENT" ]]; then
    prompt_segment black default "%(!.%{%F{yellow}%}.)$USER"
  fi
}

export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm


export PATH="$HOME/.pyenv/bin:$PATH"
eval "$(pyenv init --path)"
eval "$(pyenv virtualenv-init -)"

eval "$(pyenv init -)"

[[ -s "/home/kay/.gvm/scripts/gvm" ]] && source "/home/kay/.gvm/scripts/gvm"
**set -x** https://pastebin.com/zs7D035d **zprof** https://pastebin.com/H4zKA0yE
Kay (113 rep)
Jul 17, 2022, 09:00 AM • Last activity: Jun 6, 2025, 07:09 PM
2 votes
2 answers
2043 views
zsh autocomplete without completing prompt
Tried to find this answer, but could not. I am new to zsh, and I like it a lot on my Mac. I am looking for an option to set it to autocomplete, but without putting the completion in the prompt until I hit enter. For example, if I type: cd Documents/ and then press tab, it will highlight the options...
Tried to find this answer, but could not. I am new to zsh, and I like it a lot on my Mac. I am looking for an option to set it to autocomplete, but without putting the completion in the prompt until I hit enter. For example, if I type: cd Documents/ and then press tab, it will highlight the options but ALSO add them to the prompt, so I have to either tab a ton to get to the one I want, or delete back. Here is what I mean: cd Documents/ (press tab) it shows: $ cd Documents/Apple Apple Banana Durian Orange Starfruit Tamarine But I am going through the list to get to Tamarine--I want to see the options and be able to continue to tab through them, but not have them added to my current prompt until I hit Enter. Is this possible? unsetopt automenu Gets me close, but then I cannot tab through the options. Does that make sense? Thanks!
nomeelnoj (21 rep)
Jul 2, 2017, 08:38 AM • Last activity: Jun 4, 2025, 01:03 PM
0 votes
2 answers
1904 views
ZSH (O-M-Z + powerlevel9k) + glyphs + console only (Ubuntu server edition): How to get all 3 working?
So I have installed ZSH + oh-my-zsh + powerlevel9k on my Ubuntu server edition. While it's working including the colors (I used darkorange background to display current user), I cannot get the glyphs to work. In place of the home folder icon ([![enter image description here][1]][1]) when I'm on the...
So I have installed ZSH + oh-my-zsh + powerlevel9k on my Ubuntu server edition. While it's working including the colors (I used darkorange background to display current user), I cannot get the glyphs to work. In place of the home folder icon (enter image description here) when I'm on the user home folder, all I see is a triangle. Can someone please advice how this can be done? Thanks
mrjayviper (2253 rep)
Mar 18, 2019, 11:38 PM • Last activity: May 12, 2025, 05:04 AM
5 votes
1 answers
1936 views
zsh in tabby separate history for each tab
I want to keep history separated for each tab (even for split windows within one tab). I therefore found a solution to add these two lines after `source $ZSH/oh-my-zsh.sh`: source $ZSH/oh-my-zsh.sh unsetopt inc_append_history unsetopt share_history Now the history is really separated, nevertheless w...
I want to keep history separated for each tab (even for split windows within one tab). I therefore found a solution to add these two lines after source $ZSH/oh-my-zsh.sh: source $ZSH/oh-my-zsh.sh unsetopt inc_append_history unsetopt share_history Now the history is really separated, nevertheless when I completely close the terminal (in my case Tabby), the histories for each tab are common again. How to solve that? I use zsh with Tabby.
Arie (151 rep)
May 10, 2022, 01:51 PM • Last activity: May 6, 2025, 08:47 AM
1 votes
0 answers
950 views
how to debug oh-my-zsh auto-completion not working?
The title largely says it. Most of my auto-completion is working, but `git` is not. It does not complete commands, e.g. `git check `, nor does it complete branches, e.g. `git checkout ge `. It used to until at most a few weeks ago (no idea what changed). Other completions, such as filenames and dire...
The title largely says it. Most of my auto-completion is working, but git is not. It does not complete commands, e.g. git check, nor does it complete branches, e.g. git checkout ge. It used to until at most a few weeks ago (no idea what changed). Other completions, such as filenames and directories and commands, work fine. macOS, git installed via homebrew, zsh with oh-my-zsh, lots of common (i.e. bash and zsh) commands in ~/.common_profile, which is sourced by both ~/.zshrc and ~/.bashrc. It is not that disabling it, as I tried commenting it out. I have both git and gitfast plugins enabled. The git plugin aliases seem to be working fine. I can run ^X? to get a dump, but no idea how to interpret the dump. UPDATE 1: I switched from the default macOS zsh (5.8) to the one installed via homebrew (5.9) and now it works. But I still want to understand why it failed. UPDATE 2: As suggested by Gilles in the comments, I posted the debug output. See this gist .
deitch (473 rep)
Sep 12, 2022, 05:21 PM • Last activity: May 5, 2025, 09:20 AM
0 votes
1 answers
102 views
zsh ignores escape symbols. How to fix it?
I try to escape the `*` symbol with a backslash. However zsh prints `l` instead of `\`. I press \\ and zsh prints it as `l`. How to fix it? [![enter image description here][1]][1] [1]: https://i.sstatic.net/yTXmxr0w.png
I try to escape the * symbol with a backslash. However zsh prints l instead of \. I press \\ and zsh prints it as l. How to fix it? enter image description here
Irina (139 rep)
May 3, 2025, 01:37 PM • Last activity: May 3, 2025, 04:19 PM
0 votes
1 answers
41 views
local zsh history on up-arrow, global zsh-history on ctrl-R
I am looking for a very specific behavior in my [Zsh](https://en.wikipedia.org/wiki/Z_shell) terminals. I have multiple terminal windows open at the same time. On each terminal window, if I hit the up arrow, I'd like for it to go up through the **local** history of that specific terminal window. On...
I am looking for a very specific behavior in my [Zsh](https://en.wikipedia.org/wiki/Z_shell) terminals. I have multiple terminal windows open at the same time. On each terminal window, if I hit the up arrow, I'd like for it to go up through the **local** history of that specific terminal window. On each terminal window, if I type Ctrl-R and then start typing to search through history, I would like it to search through the **global** history that comes from all the terminal windows combined. Is it possible? How can I do it?
mareoraft (649 rep)
Apr 23, 2025, 04:35 PM • Last activity: May 1, 2025, 07:59 AM
2 votes
2 answers
4423 views
Installing oh-my-zsh without git
How can I install oh-my-zsh from master on the machine behind firewall and without git and internet access?
How can I install oh-my-zsh from master on the machine behind firewall and without git and internet access?
user72394 (15 rep)
Oct 16, 2014, 02:15 PM • Last activity: Apr 19, 2025, 12:04 PM
47 votes
7 answers
23204 views
Why do I lose my ZSH history?
Every once in a while I discover my `zsh` history has been truncated (or maybe lost entirely, difficult to tell), and I have to restore it from backup. For example, today: ``` ls -lh ~/.zsh_history -rw------- 1 stripe staff 32K 21 Feb 10:20 /Users/stripe/.zsh_history ``` But in my backup from a few...
Every once in a while I discover my zsh history has been truncated (or maybe lost entirely, difficult to tell), and I have to restore it from backup. For example, today:
ls -lh ~/.zsh_history
-rw-------  1 stripe  staff    32K 21 Feb 10:20 /Users/stripe/.zsh_history
But in my backup from a few days ago:
-rw-------@  1 stripe  staff  203K 17 Feb 22:36 /Volumes/Time Machine Backups/.../Users/stripe/.zsh_history
I have configured zsh to save lots of history so it shouldn't be a matter of the shell intentionally trimming the file.
unsetopt share_history
setopt inc_append_history
setopt hist_ignore_all_dups
HISTSIZE=500000
SAVEHIST=$HISTSIZE
Has anyone else experienced this and found a way to mitigate it? Is there some zsh spring cleaning feature I'm unaware of?
Alexander Ljungberg (639 rep)
Feb 21, 2020, 10:34 AM • Last activity: Apr 17, 2025, 06:51 AM
2 votes
2 answers
978 views
ssh/mosh to a remote interactive shell and run specific function
I have the following alias on my local machine: alias gom='mosh -- user@host "/path/to/specific/zsh"' I use it to connect to a remote machine with an interactive shell. I would like to **modify this alias** to run a specific function `my_func` defined in `.zshenv` **in the remote machine** as soon a...
I have the following alias on my local machine: alias gom='mosh -- user@host "/path/to/specific/zsh"' I use it to connect to a remote machine with an interactive shell. I would like to **modify this alias** to run a specific function my_func defined in .zshenv **in the remote machine** as soon as I log in on it (when using this alias). How can I do so? I have tried the following: * alias gom='mosh -- user@host "/path/to/specific/zsh"; my_func;' * alias gom='mosh -- user@host "/path/to/specific/zsh; my_func"' * alias gom='mosh -- user@host "/path/to/specific/zsh & my_func"' Some of the above solutions disconnect me from the remote sessions, while others don't, but none of them work.
Amelio Vazquez-Reina (42851 rep)
Aug 31, 2015, 05:51 PM • Last activity: Apr 2, 2025, 03:44 PM
0 votes
0 answers
57 views
zsh: conda environment name auto-completion not working even after installing conda-zsh-completion
I'm trying to set up auto-completion for conda environment names in zsh on WSL. I've followed these steps: 1. Cloned conda-zsh-completion: ``` mkdir -p ~/zsh-plugins cd ~/zsh-plugins git clone https://github.com/conda-incubator/conda-zsh-completion ``` 2. Added to my ~/.zshrc: ``` plugins+=(conda-zs...
I'm trying to set up auto-completion for conda environment names in zsh on WSL. I've followed these steps: 1. Cloned conda-zsh-completion:
mkdir -p ~/zsh-plugins
   cd ~/zsh-plugins
   git clone https://github.com/conda-incubator/conda-zsh-completion 
2. Added to my ~/.zshrc:
plugins+=(conda-zsh-completion)
   autoload -U compinit && compinit

   # conda-zsh-completion
   if [ $commands[conda] ]; then
     eval "$(conda shell.zsh hook)"
   fi
3. Sourced ~/.zshrc However, auto-completion for conda environment names still doesn't work. For example, when I type conda activate x and press Tab, it doesn't auto-complete to xyj_env, even though that's the only environment starting with 'x'. When I source ~/.zshrc, I get this error:
compinit:503: no such file or directory: /usr/share/zsh/vendor-completions/_docker
But I believe this is unrelated to the conda completion issue. How can I get conda environment name auto-completion working in zsh?
XYJ (1 rep)
Mar 5, 2025, 03:48 AM
21 votes
7 answers
29042 views
Changing cursor style based on mode in both zsh and vim
I use *[vi-mode][1]* in *[oh-my-zsh][2]* with the *[af-magic][3] [theme][4]*. I want the cursor style to indicate whether I am in *normal mode* (block) or *insert mode* (beam), both in `zsh` and in `vim`. This is what I have so far: In my `~/.zshrc`: # vim mode config # --------------- # Activate vi...
I use *vi-mode * in *oh-my-zsh * with the *af-magic theme *. I want the cursor style to indicate whether I am in *normal mode* (block) or *insert mode* (beam), both in zsh and in vim. This is what I have so far: In my ~/.zshrc: # vim mode config # --------------- # Activate vim mode. bindkey -v # Remove mode switching delay. KEYTIMEOUT=5 # Change cursor shape for different vi modes. function zle-keymap-select { if [[ ${KEYMAP} == vicmd ]] || [[ $1 = 'block' ]]; then echo -ne '\e[1 q' elif [[ ${KEYMAP} == main ]] || [[ ${KEYMAP} == viins ]] || [[ ${KEYMAP} = '' ]] || [[ $1 = 'beam' ]]; then echo -ne '\e5 q' fi } zle -N zle-keymap-select # Use beam shape cursor on startup. echo -ne '\e[5 q' # Use beam shape cursor for each new prompt. preexec() { echo -ne '\e[5 q' } As found [here . In vim, I use *Vundle * and *terminus *. With these configurations, both zsh and vim work as they should when considered independently. However, when I enter vim from zsh in *insert mode*, vim starts in *normal mode* (as it should) but still shows the beam shape cursor. Similarly, when I exit vim, I get back to zsh in *insert mode*, but the cursor is still in block shape (since the last mode in vim was *normal*). When after this, I switch modes for the first time (in both zsh and vim), the cursor behaves the way it should again. How can I make them display the correct cursor after entering and exiting vim as well? I tried putting autocmd VimEnter * stopinsert autocmd VimLeave * startinsert in my ~.vimrc, but this does not affect the cursor.
maddingl (686 rep)
Mar 24, 2018, 03:15 PM • Last activity: Jan 3, 2025, 01:08 AM
3 votes
2 answers
2270 views
Ignore history when using zsh
I set the `HISTORY_IGNORE` variable in `~/.zshrc` and it correctly prevents those commands from being written to `~/.zsh_history`. But what I really want is for those entries not to show when pressing up and down . (Same as `HISTIGNORE` when using bash). How do I accomplish that?
I set the HISTORY_IGNORE variable in ~/.zshrc and it correctly prevents those commands from being written to ~/.zsh_history. But what I really want is for those entries not to show when pressing up and down. (Same as HISTIGNORE when using bash). How do I accomplish that?
lonix (1965 rep)
Jan 18, 2020, 04:58 AM • Last activity: Dec 8, 2024, 03:03 AM
34 votes
7 answers
58450 views
oh-my-zsh's prompt is slow: how to fix this
I'm using macOS 10.15.2 with iTerm2, zsh 5.7.1 and oh-my-zsh (theme robbyrussell). I noticed that the prompt print is slightly slow respect to the bash one. For example, if I press enter , cursor initially goes at the beginning of the next line then, after a little while, the shell prompt comes in a...
I'm using macOS 10.15.2 with iTerm2, zsh 5.7.1 and oh-my-zsh (theme robbyrussell). I noticed that the prompt print is slightly slow respect to the bash one. For example, if I press enter, cursor initially goes at the beginning of the next line then, after a little while, the shell prompt comes in and the cursor is moved to its natural position. For example, if → ~ is the prompt when I'm in my home folder, and [] is my cursor, when I press enter I see: **0 - Idle status** → ~ [] **1 - Immediately after pressing enter** [] **2 - Back to idle status** → ~ [] This slowness is particularly evident when I quickly press enter multiple times. In this case, I see some blank lines. This is what I see → ~ → ~ → ~ → ~ → ~ → ~ → ~ → ~ → ~ [] I come from bash shell and when I use bash, there is not such a slowness. I'm not sure this is an issue of oh-my-zsh or its natural behavior. I'd like to know more about this and, eventually, how to fix it. Thanks. **PS**: the problem comes from oh-my-zsh and it persists even if I disable all the plugins. **PPS**: I previously posted this question on SO. Thanks to user1934428 for his help and for suggesting me to move this question here.
floatingpurr (485 rep)
Feb 5, 2020, 01:07 PM • Last activity: Dec 7, 2024, 02:23 AM
0 votes
0 answers
46 views
How to install Antigen if I have installed Oh My Zsh previously?
In the official Antigen repository there is no instruction for installing this manager for people that have install Oh My Zsh before. I asked above question in the program's repo but nobody answered it. In the process of installation Oh My Zsh rewrites .zshrc configuration file completely. So what I...
In the official Antigen repository there is no instruction for installing this manager for people that have install Oh My Zsh before. I asked above question in the program's repo but nobody answered it. In the process of installation Oh My Zsh rewrites .zshrc configuration file completely. So what I should do to properly install Antigen if I have Zsh + Oh My Zsh installed previously? (Nothing, uninstall Oh My Zsh, restore original .zshrc file or smth)
GlydeR (1 rep)
Oct 17, 2024, 02:55 PM
1 votes
1 answers
102 views
Zsh: completion not working for self-defined function based on git
In my `.zshrc` file I have written a function based on git log: ``` zsh lg() { git log \ --abbrev=12 \ --graph \ --oneline \ --color=always \ --format="%C(cyan)%h %C(blue)%ar %C(auto)%d %C(yellow)%s %C(white)%ae" "$@" | fzf ``` To enable autocompletion for this function I have added to my `.zshrc`:...
In my .zshrc file I have written a function based on git log:
zsh
lg() {
    git log \
    --abbrev=12 \
    --graph \
    --oneline \
    --color=always \
    --format="%C(cyan)%h %C(blue)%ar %C(auto)%d %C(yellow)%s %C(white)%ae" "$@" |
    fzf
To enable autocompletion for this function I have added to my .zshrc:
zsh
compdef _git-log lg
The _git-log function is indeed the basic completion function for git log in zsh. It is inside /usr/share/zsh/functions/Completion/Unix/_git. But using this method as recommended [here](https://unix.stackexchange.com/questions/269791/zsh-tab-completion-for-function-with-git-commands) , doesn't work on my side. After sourcing my .zshrc and try to use my lg command I keep getting in my terminal:
>$ lg (eval):1: command not found: _git-log
How to use completion functions from completions file for other function? Edit: As suggested by @Stéphane Chazelas , I used the load_helper_functions from @Gille's answer . At the end of my .zshrc, I have now :
zsh
load_helper_functions () {
    emulate -LR zsh
    if ((!$+functions[$1])) || [[ $functions[$1] = 'builtin autoload'* ]]; then
        autoload +X +U $1
        functions[$1]=${functions[$1]%$'\n'*}
        $1
  fi
}
load_helper_functions _git
compdef _git lg=git-log
Clément (35 rep)
Sep 4, 2024, 08:32 PM • Last activity: Sep 28, 2024, 01:34 PM
4 votes
3 answers
1665 views
Autocomplete of diff command not working in zsh / oh-my-zsh
On MacOS I am using oh-my-zsh with no customization that I know of. Autocompletion is mostly working quite nicely and I'm very happy with it. But for some reason the `diff` command is different. ``` ➜ ls file file1 file2 ➜ diff file1 file # Rings bell and no completion ➜ diff file1 # Gives me a "-"...
On MacOS I am using oh-my-zsh with no customization that I know of. Autocompletion is mostly working quite nicely and I'm very happy with it. But for some reason the diff command is different.
➜  ls file
file1  file2
➜  diff file1 file  # Rings bell and no completion
➜  diff file1   # Gives me a "-" completion
➜  diff file1 -
-b  -- skip trailing white spaces
-c  -- output a context diff
-e  -- output an ed script
-f  -- output a reversed ed script
-r  -- recursively compare subdirectories
So diff seems unaware that you can provide a second argument as the second file to diff, and it only seems to only accept command options as the second thing. Any ideas what is happening or how to fix this? In general, is there an easy way to configure to fully disable the smart completion for a particular command? I did compdef _files diff and that worked in that shell but not in subsequent new shells.
Tom Aldcroft (141 rep)
Dec 31, 2022, 06:49 PM • Last activity: Sep 11, 2024, 09:16 AM
1 votes
1 answers
150 views
omz reload in zsh widget
I am using zsh+oh-my-zsh and I am using the following code to change `.zshrc` using a hotkey and I am trying to reload omz after the change: ``` function f() { # ... update .zshrc here ... omz reload } zle -N f bindkey "^[=" f # Alt+= ``` However, hitting the hotkey closes the current terminal. This...
I am using zsh+oh-my-zsh and I am using the following code to change .zshrc using a hotkey and I am trying to reload omz after the change:
function f() {
  # ... update .zshrc here ...
  omz reload
}
zle -N f
bindkey "^[=" f  # Alt+=
However, hitting the hotkey closes the current terminal. This is a result of calling omz reload (which by itself callsexec zsh) Is there a another way to reload zsh/omz without this causing the terminal to be closed?
Udi (193 rep)
Jul 23, 2024, 05:00 AM • Last activity: Jul 24, 2024, 12:44 PM
8 votes
3 answers
23835 views
What ZSH theme does Kali use?
Could someone please give me the name of the default ZSH theme that Kali uses? Also, if you could please provide a link to it.
Could someone please give me the name of the default ZSH theme that Kali uses? Also, if you could please provide a link to it.
qualk (91 rep)
Jun 20, 2021, 11:33 PM • Last activity: Jul 20, 2024, 09:25 PM
19 votes
6 answers
7373 views
paste url into terminal(urxvt, zsh) failed, some characters get escaped
In recent months, I find that if I copy the URL in Chrome and then Shift-Insert in the `urxvt`, the pasted URL is escaped. For example, the original URL is: http://example.com/?a=c the pasted content is: http://example.com/\?a\=c But if I paste it into other places, such as in the web browser or in...
In recent months, I find that if I copy the URL in Chrome and then Shift-Insert in the urxvt, the pasted URL is escaped. For example, the original URL is: http://example.com/?a=c the pasted content is: http://example.com/\?a\=c But if I paste it into other places, such as in the web browser or in the vim, there is no escape. What I use is Arch Linux, urxvt, zsh, oh-my-zsh.
宇宙人 (299 rep)
Jul 2, 2016, 02:17 PM • Last activity: May 28, 2024, 07:07 AM
Showing page 1 of 20 total questions