From 36f68f4b7390defbb45ce3f2cc48840e4c52f0a2 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Mon, 27 Jan 2025 15:27:39 +0100 Subject: fixup --- .bashrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to '.bashrc') diff --git a/.bashrc b/.bashrc index 36a7139..85b53b4 100644 --- a/.bashrc +++ b/.bashrc @@ -30,13 +30,13 @@ case $(uname -o) in alias ls='ls -GF' alias ll='ls -AlGFhv' alias ldd='otool -L' - trap 'printf "\e]2;${PWD/~/\~}: ${BASH_COMMAND/update_terminal_cwd/bash}\a"' DEBUG + trap 'printf "\e]2;${PWD/~/\~} ${BASH_COMMAND%update_terminal_cwd}\a"' DEBUG ;; (GNU/Linux|Linux) export GNUTERM='sixelgd enhanced truecolor font "arial,9"' alias ls='ls --color=auto -v' alias ll='ls -AlFhv' - [ -f /etc/arch-release ] || trap 'printf "\e]2;${PWD/~/\~}:\ ${BASH_COMMAND/ps1/bash}\a"' DEBUG + [ -f /etc/arch-release ] || trap 'printf "\e]2;${PWD/~/\~} ${BASH_COMMAND%ps1}\a"' DEBUG ;; esac @@ -69,6 +69,7 @@ alias timer='echo "Timer started. Stop with Ctrl-D." && date && time cat && date #alias cl='cf xft:Mono:size=12' #alias cp='cp --reflink' +alias grep='grep -i --color' alias more='less' alias vi='vim' alias view='vim -R' @@ -167,4 +168,4 @@ meteo() { #bind -m vi-command 'Control-l: clear-screen' #bind -m vi-insert 'Control-l: clear-screen' -# [ -f ~/.fzf.bash ] && source ~/.fzf.bash +[ -f ~/.fzf.bash ] && source ~/.fzf.bash -- cgit v1.2.3