Skip to main content

Search

Items tagged with: Zsh


 
Trying fish shell as an alternative to zsh ...

https://fishshell.com/

#linux #fish #shell #zsh


 
@William A Ellerbe yes, it is pretty nice one, standard bash syntax combined with lots of nice features.
I am always looking for a nice configuration, one problem I have is "home" button in my current config is not working, to complicated to explain I guess.

I just leave my config here, maybe someone can help with that particular #zsh problem.
The problem came with that history completion up and down arrow I think.

cat .zshenv 
DEBIAN_PREVENT_KEYBOARD_CHANGES=yes


and
cat .zshrc
# Set up the prompt

autoload -Uz promptinit
promptinit
prompt adam1

setopt histignorealldups sharehistory

# Use emacs keybindings even if our EDITOR is set to vi
#bindkey -e

# Keep 1000 lines of history within the shell and save it to ~/.zsh_history:
HISTSIZE=1000
SAVEHIST=1000
HISTFILE=~/.zsh_history

# Use moder
... show more


 

z.lua - A Faster Way Of Changing Directories (cd Command That Learns As You Use It)


z.lua is a new tool that helps navigate your filesystem faster from the command line, tracking your most used directories based on "frecency".

While there are other similar tool out there, the developer claims z.lua is a lot faster. For example, z.lua is supposed to be 10 times faster than fasd and autojump, and 3 times faster than z.sh.

#linux #bash #zsh #fish #shell #cli


 
Just found this funny #bash #sticker in #Coburg. Using #Zsh anyway...
Bild/Foto


 
Does anyone have a working config for #zsh #shell in #Linux to have the arrow up/down functionality to browse through previously used commands and to have "end" and "home" key jump to the end of the line or to the beginning of the line?

Example:
type "sud" press arrow up it would browse through all previous commands starting with "sud", i.e. "sudo apt install..." "sudo -i" and so on in the order of last usage?
I got that working, but somehow the "end" and "home" key don't work anymore than.

Some config files for zsh:
cat .zshenv 
DEBIAN_PREVENT_KEYBOARD_CHANGES=yes
cat .zshrc

# Use modern completion system
autoload -Uz compinit
compinit

zstyle ':completion:*' auto-description 'specify: %d'
zstyle ':completion:*' completer _expand _complete _correct _approximate
zstyle ':completion:*' format 'Completing %d'
z
... show more