• 0 Posts
  • 19 Comments
Joined 3 years ago
cake
Cake day: June 12th, 2023

help-circle





  • Learning cli tools takes time. My advice: don’t do anything unless you are %100 sure what you are doing or you know how to revert whatever you did. When I first started using Linux I used to mess everything up by trying to solve my problems copy-pasting commands blindly. But in time I wanted to know what those commands were are, what each argument did etc. Apart from the cli tools, one can still mess things up with GUI apps if you edit system files blindly. Now this happens for people who want to dive a bit deeper. If you want a less risky swim, there are immutable distros where it’s less likely to break things.

    I still keep track of what I install and what I change on my system. That helps a lot too.













  • I use fish abbreviations instead, that way I can still use tab completions (and I like it when i still see the full command):

        abbr ffzf "fzf --layout reverse-list --color --preview 'bat -p --color always {}' --preview-window right:wrap -e --info inline-right"
    
        abbr _light 'xfconf-query -c xsettings -p /Net/ThemeName -s Fluent-round-yellow-Light-compact && xfconf-query -c xsettings -p /Net/IconThemeName -s Fluent && xfconf-query -c xfwm4 -p /general/theme -s Next'  
        abbr _dark 'xfconf-query -c xsettings -p /Net/ThemeName -s Fluent-round-yellow-Dark-compact && xfconf-query -c xsettings -p /Net/IconThemeName -s Fluent-dark && xfconf-query -c xfwm4 -p /general/theme -s Next'
    
        # VOID SPECIFIC
        abbr xup 'sudo xbps-install -Suv'
        abbr xin 'sudo xbps-install -Rs'
        abbr xre 'sudo xbps-remove -Rv'
        abbr xor 'sudo xbps-remove -ov'
        abbr xs 'xbps-query -Rs'