mylinuxforwork / dotfiles

The ML4W Dotfiles for Hyprland - An advanced and full-featured configuration for the dynamic tiling window manager Hyprland including an easy to use installation script for Arch based Linux distributions.
GNU General Public License v3.0
439 stars 47 forks source link

[FEATURE] Add option to change the shell to zsh #30

Closed mylinuxforwork closed 3 weeks ago

mylinuxforwork commented 1 month ago

Is your feature request related to a problem? Please describe. Original by https://gitlab.com/ahnafbackup222 zsh has more features and has things like better autocomplete, so it would be a very nice option to have as an option in the installer. I just copied my Zsh configuration from .bashrc to .zshrc and it is working fine.

Describe the solution you'd like Original by https://gitlab.com/bknight2k Sounds good but could i suggest a enhancement from a generic .zsh files Maybe have something like this .zsh has only imports files in $HOME/dotfiles/zsh create a modular structure

$HOME/dotfiles/zsh/.zsh
$HOME/dotfiles/zsh/zsh-aliases
$HOME/dotfiles/zsh/zsh-exports
$HOME/dotfiles/zsh/zsh-functions

This way people could maintain there own zsh files without having to manually update them for every time your dot files change. Ideally aliases and exports could be used with bash and zsh hopefully.

Additional context Can be added as an option to the installer or to the ML4W Welcome App.

NeussConsulting commented 1 month ago

Can we somehow include Oh My Zsh here?

dwilliam62 commented 1 month ago

I second the adding of ZSH JaKoolit has a very nice config for it, if you want to get some ideas

image

dwilliam62 commented 1 month ago

Oh! If you do add ZSH Do please also add a source for .zshrc-custom as you do for .bashrc

mylinuxforwork commented 1 month ago

Oh! If you do add ZSH Do please also add a source for .zshrc-custom as you do for .bashrc

Of course.

mylinuxforwork commented 4 weeks ago
#           _
#   _______| |__  _ __ ___
#  |_  / __| '_ \| '__/ __|
# _ / /\__ \ | | | | | (__
#(_)___|___/_| |_|_|  \___|
#
# by Teodor Orzechowski (2023)
# -----------------------------------------------------
# ~/.zshrc
# -----------------------------------------------------

for f in ~/.config/zshrc/*; do source $f; done
mylinuxforwork commented 4 weeks ago

@dwilliam62 Which plugin manager for zsh would you sugges/prefer? Oh-My-ZSH or Zinit?

ElectroPerf commented 3 weeks ago

@dwilliam62 Which plugin manager for zsh would you sugges/prefer? Oh-My-ZSH or Zinit?

oh my zsh is the way to go. also go with oh-my-posh as the prompt

image

mylinuxforwork commented 3 weeks ago

@dwilliam62 Which plugin manager for zsh would you sugges/prefer? Oh-My-ZSH or Zinit?

oh my zsh is the way to go. also go with oh-my-posh as the prompt

image

Thanks. Which oh my posh theme would you suggest as default?

ElectroPerf commented 3 weeks ago

@dwilliam62 Which plugin manager for zsh would you sugges/prefer? Oh-My-ZSH or Zinit?

oh my zsh is the way to go. also go with oh-my-posh as the prompt image

Thanks. Which oh my posh theme would you suggest as default?

https://github.com/ElectroPerf/dotfiles/blob/dots/.zshrc#L197

This sweet custom catpuccin theme

mylinuxforwork commented 3 weeks ago

https://github.com/mylinuxforwork/dotfiles/wiki/Switch-between-bash-and-zsh