Compare commits
11 Commits
MacBook
...
76497acfb5
Author | SHA1 | Date | |
---|---|---|---|
76497acfb5
|
|||
4ad3dfc644
|
|||
ecd737e373
|
|||
2682a25658 | |||
b2234868cf | |||
8cd0f1a9ec | |||
50e9ac06a2 | |||
58f5f318b3 | |||
760a821a06 | |||
671da08d23 | |||
9d5d6ffe12 |
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[submodule "nvim"]
|
||||||
|
path = nvim
|
||||||
|
url = gitea@git.barink.dev:Nigel/neovim_config.git
|
22
alacritty/alacritty.toml
Normal file
22
alacritty/alacritty.toml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# Live config reload
|
||||||
|
live_config_reload = true
|
||||||
|
|
||||||
|
[env]
|
||||||
|
projects = "~/Documents/Development"
|
||||||
|
|
||||||
|
[window]
|
||||||
|
opacity = 0.8
|
||||||
|
startup_mode = "Windowed"
|
||||||
|
dynamic_title = false
|
||||||
|
title = "Alacritty Terminal"
|
||||||
|
|
||||||
|
[font]
|
||||||
|
size = 13
|
||||||
|
normal = {family="Hack Nerd Font", style="Regular" }
|
||||||
|
bold = {family="Hack Nerd Font", style="Bold" }
|
||||||
|
italic = {family="Hack Nerd Font", style="Italic" }
|
||||||
|
bold_italic = {family="Hack Nerd Font", style="Bold Italic" }
|
||||||
|
|
||||||
|
|
||||||
|
[cursor]
|
||||||
|
style = { shape="Block", blinking="On" }
|
@ -1 +0,0 @@
|
|||||||
False
|
|
@ -1 +0,0 @@
|
|||||||
e1d19144125827ba135475231a0726fb686fea326bf58e27eb2f49aaf56f8f62
|
|
@ -1,5 +0,0 @@
|
|||||||
https://dc.services.visualstudio.com/v2/track
|
|
||||||
Content-Type:application/x-json-stream
|
|
||||||
Content-Encoding:gzip
|
|
||||||
|
|
||||||
H4sIAAAAAAAAA0xTy24UOxD9lVbfDUhxx8+2PTvEgG4E0Y0gYsGubJcTK53uUbcnF4T4d8oTAmPv6nFc59Txj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MDEwFw0yMzA3MTkyMDM4MTNaFw0yMzEwMTgwODU4
|
|
||||||
MTNaoF8wXTAfBgNVHSMEGDAWgBTV9lbLj+iiXGJo0T2UkFvXzpoYxDAQBgkrBgEE
|
|
||||||
AYI3FQEEAwIBADAKBgNVHRQEAwIBSDAcBgkrBgEEAYI3FQQEDxcNMjMxMDE3MjA0
|
|
||||||
ODEzWjANBgkqhkiG9w0BAQsFAAOCAgEAK6R2PnNGuWZdXD7qsvV6jCuSPKodVLkm
|
|
||||||
0srJXbhBYkGCoPuiQQNPjUalx3ut/f7RKmE8ex741DfczNdftg7NvNGLjLzcv2i6
|
|
||||||
Pu153+J1C1roRHpEYL3lmJbvWzD+UN9Q8Acu0IvBDudyP/z4v4CXjQzLX+n72ytF
|
|
||||||
akjFR8myYP0ziMXvRNKgqRejzoce6if3miGTiBMKLnXDdx9AcLquMpjQorORiWn2
|
|
||||||
K3cRCmPWrMKBZU3cGY2H2Xhmn0hdCg1AjHn0l2FD/CDKMOveaHyE304fELLS1c9H
|
|
||||||
QORHIKYE1o9CpcXLPdjkKDn9i7C+GuxTEkEO2v3bczCku0w/bXrrcMFOcB7Xjy6g
|
|
||||||
tJ690bxA04cj8tPtvjq0Y3sYR39QYw8pp7NVxZjtUnI5Od2gBXgR6/ah260LdltP
|
|
||||||
m8SRZQIiKSmjwjTzudzL8qfyHeulUPQTDhtAIrcttizwvMUfFzph4a/cE/i+W+LX
|
|
||||||
0ygbWxvRaPfIXDStcGf9lU+gJwkXHj0TFkDYPsz+boWrFr8LqSDjCin9nclZa54c
|
|
||||||
IhmI8rcynS+CHSo5vrAvOyKKXcfvxwEVtAPDRrEnjo7kzM2WcEhs3h4hnhQhmwEp
|
|
||||||
Oi0/qODiKYMLsjRuZtQDlNOF+Sv+04Gpa1wCEcfdXbKLISFXjTebDTk0BqqjE6yC
|
|
||||||
8ljeWJa6nPM=
|
|
||||||
-----END X509 CRL-----
|
|
@ -1,18 +0,0 @@
|
|||||||
-----BEGIN X509 C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Eini7YUnru87tnVwxiqj8Y0C
|
|
||||||
5eTKBeZeXMVdcbaVpTJb5c5fAjd6+6g9W5Ph4KZc5y1DJIDuKqtO8sVAZViG80Dx
|
|
||||||
+RfVW0UCs98iL6FNN2VqYvbq1lyE00FgUcJxltpazxbtC4CQt1KEKUn8ia+Ptdnu
|
|
||||||
+gAYrwlLAaQRGm1owqO7SgcV6yPYPgSqleEYHFcqtXsnMI6/R4g0MuI9zr6kq0MC
|
|
||||||
oxddnt4G8qnzm2MpYYYzzsInjmz3wHYSJUPTIXiKDOQg+Aoz0PzliQuzuq8KIQ==
|
|
||||||
-----END X509 CRL-----
|
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
@ -1,6 +1,7 @@
|
|||||||
[user]
|
[user]
|
||||||
email = nigelbarink@hotmail.com
|
email = nigelbarink@hotmail.com
|
||||||
name = Nigel
|
name = Nigel
|
||||||
|
signingkey = C54278C495538619
|
||||||
[filter "lfs"]
|
[filter "lfs"]
|
||||||
clean = git-lfs clean -- %f
|
clean = git-lfs clean -- %f
|
||||||
smudge = git-lfs smudge -- %f
|
smudge = git-lfs smudge -- %f
|
||||||
@ -8,3 +9,5 @@
|
|||||||
required = true
|
required = true
|
||||||
[init]
|
[init]
|
||||||
defaultBranch = main
|
defaultBranch = main
|
||||||
|
[commit]
|
||||||
|
gpgsign = true
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
gtk-theme-name="Breeze"
|
|
||||||
gtk-enable-animations=1
|
|
||||||
gtk-primary-button-warps-slider=0
|
|
||||||
gtk-toolbar-style=3
|
|
||||||
gtk-menu-images=1
|
|
||||||
gtk-button-images=1
|
|
||||||
gtk-cursor-theme-size=24
|
|
||||||
gtk-cursor-theme-name="Oxygen_Yellow"
|
|
||||||
gtk-icon-theme-name="breeze-dark"
|
|
||||||
gtk-font-name="Noto Sans, 10"
|
|
||||||
|
|
||||||
###############################################
|
|
||||||
# Created by cinnamon-settings - please do not edit or reformat.
|
|
||||||
#
|
|
||||||
style "cs-scrollbar-style" {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
class "GtkScrollbar" style "cs-scrollbar-style"
|
|
||||||
###############################################
|
|
21
install.sh
Normal file
21
install.sh
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# install fzf
|
||||||
|
git clone --depth 1 https://github.com/junegunn/fzf.git /tmp/fzf-source
|
||||||
|
starting_dir=$(pwd)
|
||||||
|
cd /tmp/fzf-source
|
||||||
|
./install
|
||||||
|
cd $starting_dir
|
||||||
|
|
||||||
|
# install ripgrep (Using APT! NOTE: Most likely not the latest version )
|
||||||
|
apt update
|
||||||
|
apt install ripgrep
|
||||||
|
|
||||||
|
# install tmux plugin manager
|
||||||
|
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
|
||||||
|
|
||||||
|
# Install local Ollama runner
|
||||||
|
curl -fsSL https://ollama.com/install.sh | sh
|
||||||
|
ollama run codellama:7b # See https://ollama.com/library/codellama for available models
|
||||||
|
|
||||||
|
|
1
nvim
Submodule
1
nvim
Submodule
Submodule nvim added at e4ca8c6039
42
tmux/.tmux.conf
Normal file
42
tmux/.tmux.conf
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
##########################################################
|
||||||
|
## ##
|
||||||
|
## My TMUX Config ##
|
||||||
|
## ##
|
||||||
|
##########################################################
|
||||||
|
|
||||||
|
# Rebind the prefix key
|
||||||
|
unbind C-b
|
||||||
|
set-option -g prefix C-z
|
||||||
|
|
||||||
|
# Map pane selection to more easy vim like bindings
|
||||||
|
bind-key -n 'M-h' select-pane -L
|
||||||
|
bind-key -n 'M-j' select-pane -D
|
||||||
|
bind-key -n 'M-k' select-pane -U
|
||||||
|
bind-key -n 'M-l' select-pane -R
|
||||||
|
bind h split-window -h
|
||||||
|
bind v split-window -v
|
||||||
|
|
||||||
|
# set Status bar options
|
||||||
|
set-option -g status-position top
|
||||||
|
set-window-option -g window-status-style fg=White,bg="#61f230"
|
||||||
|
set-window-option -g window-status-current-style fg=White,bg="#9aff78"
|
||||||
|
set-option -g allow-rename off
|
||||||
|
|
||||||
|
set -g @plugin 'tmux-plugins/tpm'
|
||||||
|
|
||||||
|
set -g @plugin 'dracula/tmux'
|
||||||
|
set -g @dracula-plugins 'cpu-usage git ram-usage time'
|
||||||
|
set -g @dracula-show-left-icon \uebc8
|
||||||
|
|
||||||
|
# set some sanity options
|
||||||
|
# - This makes sure to keep the window/pane count starting at 1
|
||||||
|
setw -g base-index 1
|
||||||
|
setw -g pane-base-index 1
|
||||||
|
# - This prevents me from having to press escape twice
|
||||||
|
set -s escape-time 50
|
||||||
|
|
||||||
|
# allow mouse interaction
|
||||||
|
set-option -g mouse on
|
||||||
|
|
||||||
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||||
|
run '~/.tmux/plugins/tpm/tpm'
|
182
zsh/.zshrc
182
zsh/.zshrc
@ -1,9 +1,9 @@
|
|||||||
|
|
||||||
|
# attach to an existing tmux session or create a new one if none exist
|
||||||
if [ "$TMUX" = "" ] && [ -z "$TMUX"]; then
|
if [ "$TMUX" = "" ] && [ -z "$TMUX"]; then
|
||||||
tmux attach -t $(tmux display-message -p '#S') || tmux new-session
|
tmux attach -t $(tmux display-message -p '#S') || tmux new-session
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
||||||
# Initialization code that may require console input (password prompts, [y/n]
|
# Initialization code that may require console input (password prompts, [y/n]
|
||||||
# confirmations, etc.) must go above this block; everything else may go below.
|
# confirmations, etc.) must go above this block; everything else may go below.
|
||||||
@ -11,119 +11,77 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]
|
|||||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If you come from bash you might have to change your $PATH.
|
typeset -g POWERLEVEL9K_INSTANT_PROMPT=quiet
|
||||||
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||||
|
|
||||||
# Path to your oh-my-zsh installation.
|
# Path to your oh-my-zsh installation.
|
||||||
export ZSH="/home/nigel/.oh-my-zsh"
|
export ZSH="/home/nigel/.oh-my-zsh"
|
||||||
|
|
||||||
# Set name of the theme to load --- if set to "random", it will
|
bindkey -v
|
||||||
# load a random theme each time oh-my-zsh is loaded, in which case,
|
bindkey '^R' history-incremental-search-backward
|
||||||
# to know which specific one was loaded, run: echo $RANDOM_THEME
|
bindkey '^S' history-incremental-search-forward
|
||||||
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
|
|
||||||
ZSH_THEME="lambda"
|
ZSH_THEME="lambda"
|
||||||
# "powerlevel10k/powerlevel10k"
|
|
||||||
|
|
||||||
# Set list of themes to pick from when loading at random
|
# Use case-sensitive completion.
|
||||||
# Setting this variable when ZSH_THEME=random will cause zsh to load
|
CASE_SENSITIVE="true"
|
||||||
# a theme from this variable instead of looking in $ZSH/themes/
|
|
||||||
# If set to an empty array, this variable will have no effect.
|
|
||||||
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
|
|
||||||
|
|
||||||
# Uncomment the following line to use case-sensitive completion.
|
# Disable auto-setting terminal title.
|
||||||
# CASE_SENSITIVE="true"
|
DISABLE_AUTO_TITLE="true"
|
||||||
|
|
||||||
# Uncomment the following line to use hyphen-insensitive completion.
|
# Enable command auto-correction.
|
||||||
# Case-sensitive completion must be off. _ and - will be interchangeable.
|
ENABLE_CORRECTION="true"
|
||||||
# HYPHEN_INSENSITIVE="true"
|
|
||||||
|
|
||||||
# Uncomment the following line to disable bi-weekly auto-update checks.
|
HIST_STAMPS="dd/mm/yyyy"
|
||||||
# DISABLE_AUTO_UPDATE="true"
|
|
||||||
|
|
||||||
# Uncomment the following line to automatically update without prompting.
|
|
||||||
# DISABLE_UPDATE_PROMPT="true"
|
|
||||||
|
|
||||||
# Uncomment the following line to change how often to auto-update (in days).
|
|
||||||
# export UPDATE_ZSH_DAYS=13
|
|
||||||
|
|
||||||
# Uncomment the following line if pasting URLs and other text is messed up.
|
|
||||||
# DISABLE_MAGIC_FUNCTIONS="true"
|
|
||||||
|
|
||||||
# Uncomment the following line to disable colors in ls.
|
|
||||||
# DISABLE_LS_COLORS="true"
|
|
||||||
|
|
||||||
# Uncomment the following line to disable auto-setting terminal title.
|
|
||||||
# DISABLE_AUTO_TITLE="true"
|
|
||||||
|
|
||||||
# Uncomment the following line to enable command auto-correction.
|
|
||||||
# ENABLE_CORRECTION="true"
|
|
||||||
|
|
||||||
# Uncomment the following line to display red dots whilst waiting for completion.
|
|
||||||
# Caution: this setting can cause issues with multiline prompts (zsh 5.7.1 and newer seem to work)
|
|
||||||
# See https://github.com/ohmyzsh/ohmyzsh/issues/5765
|
|
||||||
# COMPLETION_WAITING_DOTS="true"
|
|
||||||
|
|
||||||
# Uncomment the following line if you want to disable marking untracked files
|
|
||||||
# under VCS as dirty. This makes repository status check for large repositories
|
|
||||||
# much, much faster.
|
|
||||||
# DISABLE_UNTRACKED_FILES_DIRTY="true"
|
|
||||||
|
|
||||||
# Uncomment the following line if you want to change the command execution time
|
|
||||||
# stamp shown in the history command output.
|
|
||||||
# You can set one of the optional three formats:
|
|
||||||
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
|
|
||||||
# or set a custom format using the strftime function format specifications,
|
|
||||||
# see 'man strftime' for details.
|
|
||||||
# HIST_STAMPS="mm/dd/yyyy"
|
|
||||||
|
|
||||||
# Would you like to use another custom folder than $ZSH/custom?
|
|
||||||
# ZSH_CUSTOM=/path/to/new-custom-folder
|
|
||||||
|
|
||||||
# Which plugins would you like to load?
|
# Which plugins would you like to load?
|
||||||
# Standard plugins can be found in $ZSH/plugins/
|
plugins=(git vi-mode zsh-autosuggestions zsh-syntax-highlighting tmux debian themes)
|
||||||
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
|
|
||||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
|
||||||
# Add wisely, as too many plugins slow down shell startup.
|
|
||||||
plugins=(git zsh-autosuggestions zsh-syntax-highlighting tmux debian themes)
|
|
||||||
|
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
|
# Add the fzf key-bindings and completions
|
||||||
|
source /usr/share/fzf/key-bindings.zsh
|
||||||
|
source /usr/share/fzf/completion.zsh
|
||||||
|
|
||||||
# User configuration
|
# User configuration
|
||||||
source ~/.bashrc
|
source ~/.bashrc
|
||||||
# export MANPATH="/usr/local/man:$MANPATH"
|
|
||||||
|
|
||||||
# You may need to manually set your language environment
|
# Set my language environment
|
||||||
# export LANG=en_US.UTF-8
|
export LANG=en_GB.UTF-8
|
||||||
|
|
||||||
# Preferred editor for local and remote sessions
|
# Preferred editor for local and remote sessions
|
||||||
# if [[ -n $SSH_CONNECTION ]]; then
|
if [[ -n $SSH_CONNECTION ]]; then
|
||||||
# export EDITOR='vim'
|
export EDITOR='vim'
|
||||||
# else
|
else
|
||||||
# export EDITOR='mvim'
|
export EDITOR='nvim'
|
||||||
# fi
|
fi
|
||||||
|
|
||||||
# Compilation flags
|
# Personal aliases
|
||||||
# export ARCHFLAGS="-arch x86_64"
|
alias zshconfig="nvim ~/.zshrc"
|
||||||
|
alias ohmyzsh="nvim ~/.oh-my-zsh"
|
||||||
|
alias dev="cd /home/nigel/Hacking/Development"
|
||||||
|
alias dotfiles="cd /home/nigel/.dotfiles"
|
||||||
|
# Set Environment Variables
|
||||||
|
DOTNET_ROOT=$HOME/dotnet
|
||||||
|
PATH=$PATH:$HOME/dotnet
|
||||||
|
export PATH=$PATH:/home/nigel/Hacking/Development/depot_tools
|
||||||
|
|
||||||
# Set personal aliases, overriding those provided by oh-my-zsh libs,
|
# Personal Aliases
|
||||||
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
|
alias zshconfig="mate ~/.zshrc"
|
||||||
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
|
alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||||
# For a full list of active aliases, run `alias`.
|
|
||||||
#
|
# Add Clang-Tools
|
||||||
# Example aliases
|
export PATH=$PATH:$HOME/llvm/build/bin
|
||||||
# alias zshconfig="mate ~/.zshrc"
|
|
||||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
# Add nvim
|
||||||
|
export PATH=$PATH:/usr/local/bin/nvim/bin:
|
||||||
|
export PATH=$PATH:/opt/gradle/gradle-8.7/bin
|
||||||
|
|
||||||
|
# Add GoLang
|
||||||
|
export PATH=$PATH:/usr/local/go/bin
|
||||||
|
|
||||||
|
|
||||||
|
# Add Autocompletion tools
|
||||||
typeset -g POWERLEVEL9K_INSTANT_PROMPT=quiet
|
|
||||||
|
|
||||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
|
||||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
|
||||||
|
|
||||||
|
|
||||||
# zsh paramater for dotnet cli tab completion
|
|
||||||
|
|
||||||
_dotnet_zsh_complete()
|
_dotnet_zsh_complete()
|
||||||
{
|
{
|
||||||
local completions=("$(dotnet complete "$word")")
|
local completions=("$(dotnet complete "$word")")
|
||||||
@ -131,43 +89,11 @@ _dotnet_zsh_complete()
|
|||||||
reply=( "${(ps:\n:)completions}")
|
reply=( "${(ps:\n:)completions}")
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
compctl -K _dotnet_zsh_complete dotnet
|
|
||||||
|
|
||||||
|
|
||||||
# Enable tmux for every session
|
|
||||||
if false ; then
|
|
||||||
|
|
||||||
if which tmux 2>&1 >/dev/null; then
|
|
||||||
if [[ ! $TERM =~ screen ]]; then
|
|
||||||
exec tmux
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
DOTNET_ROOT=$HOME/dotnet
|
|
||||||
PATH=$PATH:$HOME/dotnet
|
|
||||||
export PATH=$PATH:/home/nigel/Hacking/Development/depot_tools
|
|
||||||
|
|
||||||
# Add Clang-Tools
|
|
||||||
export PATH=$PATH:$HOME/llvm/build/bin
|
|
||||||
|
|
||||||
|
|
||||||
eval "$(starship init zsh)"
|
|
||||||
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
|
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||||
|
|
||||||
# >>> conda initialize >>>
|
# zsh paramater for dotnet cli tab completion
|
||||||
# !! Contents within this block are managed by 'conda init' !!
|
compctl -K _dotnet_zsh_complete dotnet
|
||||||
__conda_setup="$('/home/nigel/anaconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
|
|
||||||
if [ $? -eq 0 ]; then
|
eval "$(fzf --zsh)"
|
||||||
eval "$__conda_setup"
|
eval "$(starship init zsh)"
|
||||||
else
|
|
||||||
if [ -f "/home/nigel/anaconda3/etc/profile.d/conda.sh" ]; then
|
|
||||||
. "/home/nigel/anaconda3/etc/profile.d/conda.sh"
|
|
||||||
else
|
|
||||||
export PATH="/home/nigel/anaconda3/bin:$PATH"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
unset __conda_setup
|
|
||||||
# <<< conda initialize <<<
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user