updated /home/brian/Documents/Code/source_code_to_study/sandbox/msh directory and installed bash-completion
This commit is contained in:
parent
cfe7b00eab
commit
5098a0e28d
4 changed files with 20 additions and 11 deletions
11
bashrc.txt
11
bashrc.txt
|
|
@ -5,13 +5,11 @@
|
|||
#
|
||||
history -c && history -w && hash -r
|
||||
# create custom env variables:
|
||||
export cproj="/home/brian/Documents/Code/forks/"
|
||||
export cproj="/home/brian/Documents/Code/source_code_to_study/sandbox/msh"
|
||||
# custom BROWSER env for ddgr:
|
||||
export BROWSER=links
|
||||
export TUIR_BROWSER=librewolf
|
||||
export EDITOR=nvim
|
||||
# enable vi keybindings in terminal and terminal applications
|
||||
set -o vi
|
||||
export EDITOR=nvim # enable vi keybindings in terminal and terminal applications set -o vi
|
||||
|
||||
# but keep ctrl l as the clear screen command bind -m vi-command 'Control-l: clear-screen'
|
||||
bind -m vi-insert 'Control-l: clear-screen'
|
||||
|
|
@ -182,7 +180,7 @@ export GREP_COLORS='ms=01;34'
|
|||
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
|
||||
|
||||
# icons-in-terminal
|
||||
source ~/.local/share/icons-in-terminal/icons_bash.sh
|
||||
# source ~/.local/share/icons-in-terminal/icons_bash.sh
|
||||
|
||||
# BEGIN_KITTY_SHELL_INTEGRATION
|
||||
if test -n "$KITTY_INSTALLATION_DIR" -a -e "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; then source "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; fi
|
||||
|
|
@ -191,3 +189,6 @@ if test -n "$KITTY_INSTALLATION_DIR" -a -e "$KITTY_INSTALLATION_DIR/shell-integr
|
|||
alias home="xclear && cd /home/brian && clear && history -c && hash -r"
|
||||
source ~/.aliases
|
||||
source /home/brian/.bash_completions/typer.sh
|
||||
# Use bash-completion, if available
|
||||
[[ $PS1 && -f /usr/share/bash-completion/bash_completion ]] && \
|
||||
source /usr/share/bash-completion/bash_completion
|
||||
|
|
|
|||
|
|
@ -1 +1,9 @@
|
|||
set enable-keypad on
|
||||
|
||||
# Prettify
|
||||
set colored-stats on
|
||||
set colored-completion-prefix on
|
||||
|
||||
# Completion settings
|
||||
set show-all-if-ambiguous on
|
||||
set completion-ignore-case on
|
||||
|
|
|
|||
10
updates.txt
10
updates.txt
|
|
@ -14,12 +14,12 @@ add notation about using pick to parse through output, and pipe that using xargs
|
|||
example:
|
||||
ls | pick | xargs bat # will give you a choice of the files from ls, pick displays a menu to "pick" the file, which then is parsed to xargs bat (invokes bat on choice from ls | pick)
|
||||
|
||||
install archwiki-docs
|
||||
Install bash-completion
|
||||
|
||||
doas pacman -S archwiki-docs
|
||||
doas pacman -S bash-completion
|
||||
|
||||
pull scripts and copy sxhkd/sxhkdrc to configs
|
||||
copy bashrc.txt and inputrc.txt to home directory
|
||||
|
||||
cd scripts && git pull && cp ~/Documents/notes/sxhkd/sxhkdrc ~/.config/sxhkd/
|
||||
cp bashrc.txt ~/.bashrc && cp inputrc.txt ~/.inputrc
|
||||
|
||||
And restart bspwm (super+shift+esc) and then invoke dmwiki using super+w
|
||||
This will now allow completion in bash using the tab button (a bit faster than zsh since zsh-autocompletion tries to predict what you type)
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
# create custom env variables:
|
||||
#
|
||||
export cproj="/home/brian/Documents/Code/forks/"
|
||||
export cproj="/home/brian/Documents/Code/source_code_to_study/sandbox/msh"
|
||||
# custom BROWSER env for ddgr:
|
||||
export BROWSER=links
|
||||
export TUIR_BROWSER=librewolf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue