I thought it’d be a pain but installing programs through the terminal is actually so nice, I never would have expected it

  • hamsda@lemm.ee
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    18 hours ago

    Saved! Thank you so much.

    I’ve used Linux full-time since late 2020 and I never knew about ctrl+y and ctrl+u.

    I’d also like to contribute some knowledge.

    aliases

    You can put these into your ~/.bashrc or ~/.zshrc or whatever shell you use.

    ###
    ### ls aliases
    ###
    # ls = colors
    alias ls='ls --color=auto'
    
    # ll = ls + human readable file sizes
    alias ll='ls -lh --color=auto'
    
    # lla = ll + show hidden files and folders
    alias lla='ls -lah --color=auto'
    
    ###
    ### other aliases
    ###
    # set color for different commands
    alias diff='diff --color=auto'
    alias grep='grep --color=auto'
    alias ip='ip --color=auto'
    
    # my favourite way of navigating to a far-off folder
    # this scans my home folder and presents me with a list of
    #    fuzzy-searchable folders
    #    you need fzf and fd installed for this alias to work
    alias cdd='cd "$(sudo fd -t d . ${HOME} | fzf)"'
    

    recommendations

    ncdu - a shell-based tool to analyze disk usage, think GNOME’s baobab or KDE’s filelight but in the terminal

    zellij - tmux but easy and with nice colors

    atuin - shell history but good, fuzzy-searchable. If you still have the basic shell history (when pressing ctrl+r), I cannot recommend this enough.

    ranger - a terminal file-browser (does everything I need and way more)

    • fibojoly@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      13 hours ago

      +1 for Atuin. I constantly use it on my machine and SSH-ing on remote machines who don’t have it is an absolute pain.

      I’m gonna have to save this thread and check some of those!

      • hamsda@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        11 hours ago

        Yeah, linux-servers without the tools installed in your PC are a hassle. That’s why I learned to work with vim, as that’s in nearly every distro’s repo.

        I recommended atuin as I was using it before, but currently I am using ohmyzsh with the fzf plugin for zsh. This has a very atuin-like interface and handling, but as a plugin for zsh itself.