testing fragmented config

This commit is contained in:
dl92
2025-02-23 23:14:46 +00:00
parent cd58a6c5e4
commit b32de217f0
7 changed files with 75 additions and 134 deletions

View File

@@ -0,0 +1,38 @@
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
# 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
shopt -s histappend
# 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
# 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

View File

@@ -0,0 +1,7 @@
# some more ls aliases
# Common aliases
alias ll='ls -alF'
alias gs='git status'
alias lz='lazygit'
alias nvim='nvim.appimage'

18
home/bash-config/rc.base Normal file
View File

@@ -0,0 +1,18 @@
# Set up fzf key bindings and fuzzy completion
eval "$(fzf --bash)"
FZF_DEFAULT_COMMAND='fd --type f| fzf --print0 | xargs -0 -o vim'
source "$HOME/code/scripts/system/nnn/nnnconfig.sh"
export PATH="$PATH:$HOME/code/scripts/system/nnn"
export PATH="$PATH:$HOME/.local/bin"
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi