Tutorial

fzf

2024-04-24
Tutorial, Bash
Bash, Linux

fzf is a command-line fuzzy finder # The fuzzy finder of the fzf project is available as package in many distributions. Bash aliases are usefull, but you have to keep them organized. This can be done easily, if you use a separate file for all your aliases. Add the following block to the ~/.bashrc # assign keybindings, if fzf is available. # adjust the path to key-bindings.bash depending on your installation if [ -x "$(command -v fzf)" ] then source /usr/share/fzf/key-bindings. ...

Bash alias

2024-02-24
Tutorial, Bash
Bash, Linux

Organize Aliases # Bash aliases are usefull, but you have to keep them organized. This can be done easily, if you use a separate file for all your aliases. Add the following block to the ~/.bashrc # Add bash aliases. if [ -f ~/.bash_aliases ]; then source ~/.bash_aliases fi now you can add aliases to ~/.bash_aliases The following example adds an alias to activate python environments echo "alias activate=". . ...