What shell do you use?
I've been using fish for years for its autocompletion, but the not being POSIX compliance is starting to bother more than I'd like. Bash is ok, zsh seems customizable but convoluted. Things like ohmyzsh seem like a bad idea because you'd be using a config you don't understand which only complicates things. What choose?
>using linux
zsh is comfy
I use zsh interactively. I use the syntax coloring thing and I understand it at least as well as the fish implementation.
I script in pure POSIX bourne shell or bash iff I'm feeling really lazy, bash makes something noticeably easier and I'm not going to use the script on another system.
>>52397968
>I've been using fish for years
oh you're one of *those* people
>>52397985
I assume you're completely ignorant to the existance and power of shells?
You might want to check it out. We're on a technology board after all.
>>52398006
>>52398042
Zsh seems nice, do you use any premade config?
>>52398057
Y-yes.
To my defense: the real time history completion is unmatched as far as I know.
>>52398063
>Zsh seems nice, do you use any premade config?
I looked at other people's configs. This is the result, over the years:# ~/.zshrc
#
# dircolors
eval $(dircolors ~/.config/dircolors)
# autocorrection
setopt correct
# prompt
PROMPT="%~$ "
#
# completion
#
autoload -U compinit && compinit -d ~/.cache/zcompdump
zstyle ':completion:*' menu select
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'
zstyle ':completion:*:descriptions' format "completing %B%d%b%"
zstyle ':completion:*:matches' group 'yes'
zstyle ':completion:*' group-name ''
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
zstyle ':completion:*' list-dirs-first true
#
# aliases
#
alias bc='bc -l'
alias copy='rsync -ah --info=progress2'
alias cal='cal -m'
alias cp='cp -iv'
alias du='du -h'
alias e="$EDITOR"
alias locate='locate -i'
alias ls='ls --color=auto --group-directories-first -h'
alias mkdir='mkdir -p'
alias mv='mv -iv'
alias qmv='qmv -f do -e nano'
alias topdf='libreoffice --headless --convert-to pdf'
#
# keybinds
#
bindkey '\e[3~' delete-char
bindkey '\e[1;3D' backward-word
bindkey '\e[1;3C' forward-word
bindkey '\e[1;5D' backward-word
bindkey '\e[1;5C' forward-word
#
# window title
#
case $TERM in
rxvt*|screen*|xterm*)
precmd () { print -Pn '\e]0;%d\a' }
preexec () { print -n "\e]0;$1\a" }
esac
>>52398370
That's really nice. Thanks.
i use fish, comfiest shell out there
if i need posix or run scripts, i switch to bash
I've dabbled with a few, but fish is currently my favourite interactive shell: I switched from zsh recently.
fish not being POSIX doesn't bother me: run scripts in #!/bin/sh or #!/bin/bash if you must. You should always have hashbangs anyway.
It may be controversial for me to say, but I have to commend Windows PowerShell for a very different, but very effective, approach. I can't get used to it easily enough to use myself, but I can't deny that given the opportunity to start over from a clean break that they had, the PowerShell team did a very interesting job indeed, although I do wish the commands weren't so verbose.
I use rc, I like it because it has very few features and makes you rely on unix tools instead of sh/bash-isms, and it has a sane syntax. That, and it boots up very fast.
>>52397968
Prezto > ohmyzsh any fucking day of the week. Much more optimized.
>>52399087
Came here to say this.
I use the agnoster theme.