Merge pull request 'Adding all my config from laptop' (#1) from laptop into main
Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"workbench.colorTheme": "Visual Studio Dark"
|
||||||
|
}
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
# Alias definitions
|
||||||
|
|
||||||
|
# helper funcs
|
||||||
|
_git(){
|
||||||
|
[ $# -eq 0 ] && {
|
||||||
|
git status && git branch
|
||||||
|
} || {
|
||||||
|
git "$@"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
# Default aliases
|
||||||
|
alias ls='ls --color=auto'
|
||||||
|
alias grep='grep --color=auto'
|
||||||
|
#alias nyx='nyx -c ~/.config/nyx/config/'
|
||||||
|
|
||||||
|
# Ease of use aliases
|
||||||
|
alias '..'='cd ../'
|
||||||
|
alias '...'='cd ../..'
|
||||||
|
alias google='google-chrome-stable'
|
||||||
|
|
||||||
|
# special aliases
|
||||||
|
alias 'ff'='nvim $(fzf)'
|
||||||
|
alias ts='date +%Y%m%d%H%M%S'
|
||||||
|
|
||||||
|
# git aliases
|
||||||
|
alias gs='git status'
|
||||||
|
alias ga='git add'
|
||||||
|
|
||||||
|
# Single letter aliases
|
||||||
|
alias c='claude'
|
||||||
|
alias d='du_color'
|
||||||
|
alias e='nvim'
|
||||||
|
alias g=_git
|
||||||
|
alias l='ls -alh'
|
||||||
|
alias p='pacman'
|
||||||
|
alias t='tmux'
|
||||||
|
alias v='nvim'
|
||||||
|
|
||||||
|
# Load in any secret aliases if there may be
|
||||||
|
[ -f ~/config/bash/aliases.sh.secret ] && . ~/.config/bash/aliases.sh.secret
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
bind '"\C-f":"~/.local/bin/fzf-nvim.sh\n"'
|
||||||
+31
@@ -0,0 +1,31 @@
|
|||||||
|
# My default editor
|
||||||
|
export EDITOR='nvim'
|
||||||
|
|
||||||
|
# Add user created scripts to path
|
||||||
|
[ -d ~/.local/bin ] && export PATH=$PATH:$HOME/.local/bin
|
||||||
|
|
||||||
|
[ ! -d ~/.config ] && {
|
||||||
|
echo "Error ~/.config does no exist. Creating."
|
||||||
|
mkdir ~/.config
|
||||||
|
}
|
||||||
|
|
||||||
|
export config="$HOME/.config"
|
||||||
|
export CONFIG="$HOME/.config"
|
||||||
|
|
||||||
|
export CARGO_HOME="$CONFIG/cargo"
|
||||||
|
export GNUPGHOME="$CONFIG/gnupg"
|
||||||
|
export __GL_SHADER_DISK_CACHE_PATH="$CONFIG/nv"
|
||||||
|
|
||||||
|
# https://asdf-vm.com/guide/getting-started.html
|
||||||
|
export ASDF_DIR="$CONFIG/.asdf"
|
||||||
|
export ASDF_DATA_DIR="$ASDF_DIR"
|
||||||
|
. "$ASDF_DIR/asdf.sh"
|
||||||
|
. "$ASDF_DIR/completions/asdf.bash"
|
||||||
|
|
||||||
|
# https://direnv.net/
|
||||||
|
eval "$(direnv hook bash)"
|
||||||
|
|
||||||
|
#source ~/sdks/vulkan/1.4.313.0/setup-env.sh
|
||||||
|
|
||||||
|
# export DENO_CONFIG="/home/caleb/.config/deno"
|
||||||
|
# export PATH="$DENO_CONFIG/bin:$PATH"
|
||||||
Executable
+17
@@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
CLEAR_COLOR="\[\e[0m\]"
|
||||||
|
|
||||||
|
# Default value
|
||||||
|
prompt="<Please set prompt in ~/.bash/bash_prompt> % "
|
||||||
|
|
||||||
|
#prompt="$CLEAR_COLOR[\[\033[1;38m\]\w$CLEAR_COLOR]$CLEAR_COLOR "
|
||||||
|
|
||||||
|
# My custom prompt
|
||||||
|
prompt="\[\033[32m\]\u\[\033[36m\]@\[\033[32m\]\h \[\033[37m\]\W\[\033[36m\]$\[\e[0m\] "
|
||||||
|
|
||||||
|
# ParrotOS prompt
|
||||||
|
# prompt="\[\033[0;31m\]\342\224\214\342\224\200\$([[ \$? != 0 ]] && echo \"[\[\033[0;31m\]\342\234\227\[\033[0;37m\]]\342\224\200\")[$(if [[ ${EUID} == 0 ]]; then echo '\[\033[01;31m\]root\[\033[01;33m\]@\[\033[01;96m\]\h'; else echo '\[\033[0;39m\]\u\[\033[01;33m\]@\[\033[01;96m\]\h'; fi)\[\033[0;31m\]]\342\224\200[\[\033[0;32m\]\w\[\033[0;31m\]]\n\[\033[0;31m\]\342\224\224\342\224\200\342\224\200\342\225\274 \[\033[0m\]\[\e[01;33m\]\\$\[\e[0m\]"
|
||||||
|
|
||||||
|
# Give prompt to bashrc
|
||||||
|
echo $prompt
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 3.8 KiB |
@@ -0,0 +1,8 @@
|
|||||||
|
|
||||||
|
[Default Applications]
|
||||||
|
text/html=google-chrome.desktop
|
||||||
|
x-scheme-handler/http=google-chrome.desktop
|
||||||
|
x-scheme-handler/https=google-chrome.desktop
|
||||||
|
x-scheme-handler/about=google-chrome.desktop
|
||||||
|
x-scheme-handler/unknown=google-chrome.desktop
|
||||||
|
x-scheme-handler/claude-cli=claude-code-url-handler.desktop
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
set number
|
||||||
|
set tabstop=4
|
||||||
|
set shiftwidth=4
|
||||||
|
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
[window]
|
||||||
|
width=1920
|
||||||
|
height=1048
|
||||||
|
sinkInputType=1
|
||||||
|
sourceOutputType=1
|
||||||
|
sinkType=0
|
||||||
|
sourceType=1
|
||||||
|
showVolumeMeters=1
|
||||||
|
hideUnavailableCardProfiles=0
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
set -g default-terminal "screen-256color"
|
||||||
|
set -ag terminal-overrides ",screen-256color:RGB"
|
||||||
|
set -g mouse on
|
||||||
|
|
||||||
Reference in New Issue
Block a user