Files
configs/home/bash-config/bashrc.local
2025-08-09 23:09:26 +01:00

48 lines
1.1 KiB
Plaintext

# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
if [[ -n "$BASH_VERSION" ]]; then
shopt -s checkwinsize
fi
# If set, the pattern "**" used in a pathname expansion context will
# match all files and zero or more directories and subdirectories.
#shopt -s globstar
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth
# append to the history file, don't overwrite it
if [[ -n "$BASH_VERSION" ]]; then
shopt -s histappend
fi
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000
#activate python
source /home/ys/Data/projects/code/Python/Envs/General/bin/activate
# Set up fzf key bindings and fuzzy completion
eval "$(fzf --bash)"
FZF_DEFAULT_COMMAND='fd --type f | fzf --print0 | xargs -0 -o vim'
# Added by LM Studio CLI tool (lms)
export PATH="$PATH:$HOME/.lmstudio/bin"
# ask scrcpy to use a specific adb binary,
export ADB=/usr/bin/adb