From 8f62779b01ce4c85a9f93fb55c537892a490295b Mon Sep 17 00:00:00 2001 From: Daniil Tsivinsky Date: Mon, 4 Oct 2021 18:24:34 +0300 Subject: [PATCH] Enable autocd for bash --- .bashrc | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.bashrc b/.bashrc index 3b1bcd1..d7f5e68 100644 --- a/.bashrc +++ b/.bashrc @@ -1,6 +1,15 @@ # If not running interactively, don't do anything [[ $- != *i* ]] && return + + +# _ _ ___ _ ____ _____ ____ +# / \ | | |_ _| / \ / ___|| ____/ ___| +# / _ \ | | | | / _ \ \___ \| _| \___ \ +# / ___ \| |___ | | / ___ \ ___) | |___ ___) | +# /_/ \_\_____|___/_/ \_\____/|_____|____/ +# + alias sudo='sudo ' alias ls='ls --color=auto' @@ -11,9 +20,24 @@ alias count-commits='echo $(git log --oneline | wc -l) commits' alias e='$EDITOR' + + + +# _____ _ ___ _____ ____ ___ _ _ __ __ _____ _ _ _____ +# | ____| \ | \ \ / /_ _| _ \ / _ \| \ | | \/ | ____| \ | |_ _| +# | _| | \| |\ \ / / | || |_) | | | | \| | |\/| | _| | \| | | | +# | |___| |\ | \ V / | || _ <| |_| | |\ | | | | |___| |\ | | | +# |_____|_| \_| \_/ |___|_| \_\\___/|_| \_|_| |_|_____|_| \_| |_| +# + export TERM=alacritty export EDITOR=nvim export VISUAL=nvim +# Use thefuck command to fix previous command eval "$(thefuck --alias)" +# Find arch package by binary +source /usr/share/doc/pkgfile/command-not-found.bash + +shopt -s autocd