Compare commits

..

6 Commits

6 changed files with 93 additions and 0 deletions

19
.bashrc Normal file
View File

@ -0,0 +1,19 @@
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
alias grep='grep --color=auto'
PS1='[\u@\h \W]\$ '
[[ $- == *i* ]] && source "$HOME/.local/share/blesh/ble.sh" --rcfile "$HOME/.blerc"
# Set up fzf key bindings and fuzzy completion
eval "$(fzf --bash)"
eval "$(starship init bash)"
[[ ! ${BLE_VERSION-} ]] || ble-attach

11
.blerc Normal file
View File

@ -0,0 +1,11 @@
# set pager to use
bleopt pager=bat
# editor to use
bleopt editor=nvim
# The face used to show the suggested strings by auto completion.
# Make it more sublte than the default.
ble-face auto_complete='bg=default,fg=gray'

6
.config/starship.toml Normal file
View File

@ -0,0 +1,6 @@
# Get editor completions based on the config schema
"$schema" = 'https://starship.rs/config-schema.json'
# Inserts a blank line between shell prompts
add_newline = true

View File

@ -2,3 +2,7 @@ Host github.com
HostName github.com HostName github.com
User git User git
IdentityFile ~/.ssh/id_ed25519_sk_rk_servostar@github.com IdentityFile ~/.ssh/id_ed25519_sk_rk_servostar@github.com
Host git.montehaselino.de
HostName git.montehaselino.de
User git
IdentityFile ~/.ssh/id_ed25519_servostar@git.montehaselino.de

6
.stow-local-ignore Normal file
View File

@ -0,0 +1,6 @@
README.md
\.git
\.gitignore
\.gitmodules
run-setup-ssh\.sh
run-stow\.sh

47
.zshrc Normal file
View File

@ -0,0 +1,47 @@
# Lines configured by zsh-newuser-install
setopt autocd beep extendedglob
bindkey -e
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
# Share command history across sessions.
HISTFILE=~/.zsh_history
HISTSIZE=10000
SAVEHIST=10000
setopt share_history
# Zinit
ZINIT_HOME="${XDG_DATA_HOME:-${HOME}/.local/share}/zinit/zinit.git"
[ ! -d $ZINIT_HOME ] && mkdir -p "$(dirname $ZINIT_HOME)"
[ ! -d $ZINIT_HOME/.git ] && git clone https://github.com/zdharma-continuum/zinit.git "$ZINIT_HOME"
source "${ZINIT_HOME}/zinit.zsh"
zstyle :compinstall filename '/home/srvstr/.zshrc'
# Map CTRL + left keys
# Source: https://unix.stackexchange.com/a/332049
bindkey "^[[1;5D" backward-word
bindkey "^[[1;5C" forward-word
autoload -Uz compinit
compinit
# End of lines added by compinstall
# Always source `.env` files
ZSH_DOTENV_PROMPT=false
eval "$(starship init zsh)"
# Zinit plugins
zinit light zsh-users/zsh-syntax-highlighting
zinit light zsh-users/zsh-autosuggestions
zinit light zsh-users/zsh-completions
zinit snippet OMZP::dotenv
zinit snippet OMZP::command-not-found
zinit snippet OMZP::eza
zinit snippet OMZP::colored-man-pages
# Configure eza instead of ls
zstyle ':omz:plugins:eza' 'dirs-first' yes
zstyle ':omz:plugins:eza' 'icons' yes