Compare commits
1 Commits
76497acfb5
...
MacBook
Author | SHA1 | Date | |
---|---|---|---|
5c11e953ef |
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.DS_Store
|
||||
nvm/.git
|
||||
vscode/extensions
|
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -1,3 +0,0 @@
|
||||
[submodule "nvim"]
|
||||
path = nvim
|
||||
url = gitea@git.barink.dev:Nigel/neovim_config.git
|
@ -1,22 +0,0 @@
|
||||
# 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,109 +0,0 @@
|
||||
/etc/init.d/gdm start
|
||||
/etc/init.d/gdm3 start
|
||||
apt -f install
|
||||
sudo apt -f install
|
||||
su
|
||||
cd /
|
||||
exit
|
||||
gpg
|
||||
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
|
||||
ls
|
||||
ls -a
|
||||
nano .bashrc
|
||||
source .
|
||||
source .bashrc
|
||||
nvm --version
|
||||
nvm install --lts
|
||||
node --version
|
||||
npm --version
|
||||
apt install vim
|
||||
su -
|
||||
apt install tmux
|
||||
su -
|
||||
exit
|
||||
javac --version
|
||||
echo $PATH
|
||||
vim .bashrc
|
||||
javac --version
|
||||
source .
|
||||
source .bashrc
|
||||
javac --version
|
||||
exit
|
||||
javac --version
|
||||
apt install build-essential
|
||||
su -
|
||||
vim ~/.bashrc
|
||||
source ~/.bashrc
|
||||
ghidra
|
||||
su -
|
||||
docker ps -a
|
||||
sudo docker ps -a
|
||||
su -
|
||||
exit
|
||||
docker --version
|
||||
docker ps -a
|
||||
sudo docker ps -a
|
||||
exit
|
||||
ls
|
||||
exit
|
||||
eixt
|
||||
exit
|
||||
cd /usr/go
|
||||
mkdir /usr/go
|
||||
sudo mkdir /usr/go
|
||||
su -
|
||||
cd Downloads/
|
||||
ls
|
||||
tar -C /usr/local -xzf go1.16.2.linux-amd64.tar.gz
|
||||
sudo tar -C /usr/local -xzf go1.16.2.linux-amd64.tar.gz
|
||||
su -
|
||||
vim .bashrc
|
||||
ls
|
||||
cd
|
||||
ls
|
||||
vim .bashrc
|
||||
source .
|
||||
source .bashrc
|
||||
go version
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||
source $HOME/.cargo/env
|
||||
rustc --version
|
||||
ls
|
||||
cd Development/
|
||||
ls
|
||||
go --version
|
||||
entr
|
||||
go version
|
||||
exit
|
||||
apt update
|
||||
su -
|
||||
docker ps
|
||||
echo $GOPATH
|
||||
go run main
|
||||
go run main.go
|
||||
cd helloworld/
|
||||
ls
|
||||
go run main.go
|
||||
which go
|
||||
zsh
|
||||
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||
su -
|
||||
chsh -s /bin/zsh
|
||||
exit
|
||||
zsh
|
||||
exit
|
||||
zsh
|
||||
exit
|
||||
echo $terminal.integrated.shell.linux
|
||||
zsh
|
||||
exit
|
||||
cd sqlite-tools-linux-x86-3350300/
|
||||
ls
|
||||
./sqlite3 test.db
|
||||
ll
|
||||
ls
|
||||
./sqlite3 test.db
|
||||
sqlite3 test.db
|
||||
exit
|
||||
clion
|
||||
exit
|
@ -1,7 +0,0 @@
|
||||
# ~/.bash_logout: executed by bash(1) when login shell exits.
|
||||
|
||||
# when leaving the console clear the screen to increase privacy
|
||||
|
||||
if [ "$SHLVL" = 1 ]; then
|
||||
[ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q
|
||||
fi
|
142
bash/.bashrc
142
bash/.bashrc
@ -1,142 +0,0 @@
|
||||
# ~/.bashrc: executed by bash(1) for non-login shells.
|
||||
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
|
||||
# for examples
|
||||
|
||||
# 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
|
||||
|
||||
# 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
|
||||
|
||||
# make less more friendly for non-text input files, see lesspipe(1)
|
||||
#[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
|
||||
|
||||
# set variable identifying the chroot you work in (used in the prompt below)
|
||||
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
|
||||
debian_chroot=$(cat /etc/debian_chroot)
|
||||
fi
|
||||
|
||||
# set a fancy prompt (non-color, unless we know we "want" color)
|
||||
case "$TERM" in
|
||||
xterm-color|*-256color) color_prompt=yes;;
|
||||
esac
|
||||
|
||||
# uncomment for a colored prompt, if the terminal has the capability; turned
|
||||
# off by default to not distract the user: the focus in a terminal window
|
||||
# should be on the output of commands, not on the prompt
|
||||
#force_color_prompt=yes
|
||||
|
||||
if [ -n "$force_color_prompt" ]; then
|
||||
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
|
||||
# We have color support; assume it's compliant with Ecma-48
|
||||
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
|
||||
# a case would tend to support setf rather than setaf.)
|
||||
color_prompt=yes
|
||||
else
|
||||
color_prompt=
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$color_prompt" = yes ]; then
|
||||
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
|
||||
else
|
||||
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
|
||||
fi
|
||||
unset color_prompt force_color_prompt
|
||||
|
||||
# If this is an xterm set the title to user@host:dir
|
||||
case "$TERM" in
|
||||
xterm*|rxvt*)
|
||||
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
# enable color support of ls and also add handy aliases
|
||||
if [ -x /usr/bin/dircolors ]; then
|
||||
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
|
||||
alias ls='ls --color=auto'
|
||||
#alias dir='dir --color=auto'
|
||||
#alias vdir='vdir --color=auto'
|
||||
|
||||
#alias grep='grep --color=auto'
|
||||
#alias fgrep='fgrep --color=auto'
|
||||
#alias egrep='egrep --color=auto'
|
||||
fi
|
||||
|
||||
# colored GCC warnings and errors
|
||||
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
|
||||
|
||||
# some more ls aliases
|
||||
alias ll='ls -l'
|
||||
alias la='ls -A'
|
||||
alias l='ls -CF'
|
||||
|
||||
# Alias definitions.
|
||||
# You may want to put all your additions into a separate file like
|
||||
# ~/.bash_aliases, instead of adding them here directly.
|
||||
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
|
||||
|
||||
if [ -f ~/.bash_aliases ]; then
|
||||
. ~/.bash_aliases
|
||||
fi
|
||||
|
||||
# enable programmable completion features (you don't need to enable
|
||||
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
|
||||
# sources /etc/bash.bashrc).
|
||||
#if ! shopt -oq posix; then
|
||||
# if [ -f /usr/share/bash-completion/bash_completion ]; then
|
||||
# . /usr/share/bash-completion/bash_completion
|
||||
# elif [ -f /etc/bash_completion ]; then
|
||||
# . /etc/bash_completion
|
||||
# fi
|
||||
#fi
|
||||
#
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
|
||||
# Add java to the path
|
||||
export PATH=$PATH:/opt/jdk-16/bin
|
||||
|
||||
# Add Ghidra to the path
|
||||
export PATH=$PATH:/opt/ghidra
|
||||
alias ghidra=ghidraRun
|
||||
|
||||
# Add Go to the path
|
||||
export PATH=$PATH:/usr/local/go/bin
|
||||
|
||||
# Add sqlite3 tools
|
||||
export PATH=$PATH:/opt/sqlite3-tools
|
||||
|
||||
# Add Clang-Tools
|
||||
export PATH=$PATH:$HOME/llvm/build/bin
|
||||
|
||||
# Add cargo
|
||||
source "$HOME/.cargo/env"
|
||||
|
||||
# Manualy added binaries to the path
|
||||
export PATH=$PATH:/opt
|
||||
|
||||
# Add path for CLION
|
||||
export PATH=$PATH:/home/nigel/Programs/clion/bin
|
17
config/alacritty/alacritty.toml
Normal file
17
config/alacritty/alacritty.toml
Normal file
@ -0,0 +1,17 @@
|
||||
# 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
|
||||
|
||||
[cursor]
|
||||
style = { shape = "Block", blinking= "On"}
|
1
config/iterm2/AppSupport
Symbolic link
1
config/iterm2/AppSupport
Symbolic link
@ -0,0 +1 @@
|
||||
/Users/nigel/Library/Application Support/iTerm2
|
@ -1,7 +1,6 @@
|
||||
[user]
|
||||
email = nigelbarink@hotmail.com
|
||||
name = Nigel
|
||||
signingkey = C54278C495538619
|
||||
[filter "lfs"]
|
||||
clean = git-lfs clean -- %f
|
||||
smudge = git-lfs smudge -- %f
|
||||
@ -9,5 +8,3 @@
|
||||
required = true
|
||||
[init]
|
||||
defaultBranch = main
|
||||
[commit]
|
||||
gpgsign = true
|
||||
|
21
install.sh
21
install.sh
@ -1,21 +0,0 @@
|
||||
#!/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
1
nvim
Submodule nvim deleted from e4ca8c6039
1
nvm
Submodule
1
nvm
Submodule
Submodule nvm added at bab86d5de5
@ -1,42 +0,0 @@
|
||||
##########################################################
|
||||
## ##
|
||||
## 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'
|
20
vscode/argv.json
Normal file
20
vscode/argv.json
Normal file
@ -0,0 +1,20 @@
|
||||
// This configuration file allows you to pass permanent command line arguments to VS Code.
|
||||
// Only a subset of arguments is currently supported to reduce the likelihood of breaking
|
||||
// the installation.
|
||||
//
|
||||
// PLEASE DO NOT CHANGE WITHOUT UNDERSTANDING THE IMPACT
|
||||
//
|
||||
// NOTE: Changing this file requires a restart of VS Code.
|
||||
{
|
||||
// Use software rendering instead of hardware accelerated rendering.
|
||||
// This can help in cases where you see rendering issues in VS Code.
|
||||
// "disable-hardware-acceleration": true,
|
||||
|
||||
// Allows to disable crash reporting.
|
||||
// Should restart the app if the value is changed.
|
||||
"enable-crash-reporter": true,
|
||||
|
||||
// Unique id used for correlating crash reports sent from this instance.
|
||||
// Do not edit this value.
|
||||
"crash-reporter-id": "637bd37c-573e-4a4d-b17e-f66f377f3875"
|
||||
}
|
2
zsh/.zprofile
Normal file
2
zsh/.zprofile
Normal file
@ -0,0 +1,2 @@
|
||||
eval "$(starship init zsh)"
|
||||
eval "$(/usr/local/bin/brew shellenv)"
|
159
zsh/.zsh_history
159
zsh/.zsh_history
@ -9732,3 +9732,162 @@ cd ckb-next\
|
||||
: 1696168107:0;ls
|
||||
: 1696168109:0;la
|
||||
: 1696168150:0;mv .zsh_history .dotfiles/zsh/.zsh_history
|
||||
which $SHELL
|
||||
ls -al
|
||||
ls .cache
|
||||
ls .config
|
||||
stow --help
|
||||
man stow
|
||||
brew update
|
||||
brew upgrade
|
||||
brew search stow
|
||||
brew info stow
|
||||
brew install stow
|
||||
mkdir .dotfile
|
||||
ls
|
||||
ls -al
|
||||
mv .zshrc .dotfile/.zshrc
|
||||
ls
|
||||
ls -al
|
||||
mv .zshrc .dotfile/.zshenv
|
||||
mv .zshenv .dotfile/.zshenv
|
||||
ls -al
|
||||
mv .nvm .dotfile/.nvm
|
||||
mv .vscode .dotfile/.vscode
|
||||
mv .dotfile .dotfiles
|
||||
ls -al
|
||||
mv .config .dotfiles/.config
|
||||
ls
|
||||
ls -al
|
||||
mv .zprofile .dotfiles/.zprofile
|
||||
ls
|
||||
mv .dotfiles .dotfiles_mac
|
||||
git clone https://git.barink.dev/Nigel/dotfile.git .dotfiles
|
||||
touch git.barink.dev.accessToken
|
||||
echo "6e8fa1564b4d5d9f75098aa02ea81bb7308fe241" > git.barink.dev.accessToken
|
||||
cat git.barink.dev.accessToken
|
||||
git clone https://git.barink.dev/Nigel/dotfile.git .dotfiles
|
||||
git clone https://git.barink.dev/Nigel/dotfiles.git .dotfiles
|
||||
ls
|
||||
ls -al
|
||||
cd dotfiles
|
||||
cd .dotfiles
|
||||
git branch MacBook
|
||||
git checkout MacBook
|
||||
ls
|
||||
ls
|
||||
ls -al
|
||||
stow .config
|
||||
cd ..
|
||||
ls
|
||||
ls -al
|
||||
cd .dotfiles\
|
||||
cd .dotfiles
|
||||
ls
|
||||
stow --help
|
||||
stow -D .config
|
||||
stow -D .config
|
||||
cd ..
|
||||
ls -al
|
||||
cd .dotfiles
|
||||
ls
|
||||
ls -al
|
||||
mv .nvm nvm
|
||||
mv .vscode vscode
|
||||
ls
|
||||
cd .config
|
||||
ls
|
||||
mv alacritty ../config/alacritty
|
||||
cd ..
|
||||
ls
|
||||
mkdir config
|
||||
mv .config config
|
||||
ls
|
||||
stow cofig -t ~/.config/
|
||||
mkdir -p ~/.config/
|
||||
stow -S -d config -t ~/.config/
|
||||
stow -d config -t ~/.config/
|
||||
stow config -d config -t ~/.config/
|
||||
stow config -t ~/.config/
|
||||
ls
|
||||
cd ..
|
||||
ls -al
|
||||
ls .config
|
||||
ls .config -al
|
||||
cd .dotfiles
|
||||
ls
|
||||
stow config
|
||||
cd ..
|
||||
ls -al
|
||||
ls -al .config
|
||||
cd .dotfiles
|
||||
ls
|
||||
stow config -S config -t ~/.config/
|
||||
ls -al ~/.config
|
||||
stow config -D config -t ~/.config/
|
||||
ls -al ~/.config
|
||||
cd dotfiles
|
||||
ls
|
||||
stow -D config
|
||||
ls -al ~/.config
|
||||
stow -D config
|
||||
ls -al ~/.config
|
||||
stow config -D -t ~/.config/
|
||||
cd ..
|
||||
cd config
|
||||
cd .config
|
||||
ls -al ~/.config
|
||||
cd ..
|
||||
ls -al ~/.config
|
||||
mkdir .config
|
||||
cd .dotfiles
|
||||
ls
|
||||
pwd
|
||||
cd ..
|
||||
ls
|
||||
ls -al
|
||||
cd .dotfile
|
||||
cd .dotfiles
|
||||
ls
|
||||
stow config -t ~/.config
|
||||
stow config -t ~/.config/
|
||||
stow config
|
||||
ls config
|
||||
cd config
|
||||
ls
|
||||
ls -al
|
||||
ls
|
||||
cd ..
|
||||
ls
|
||||
stow config -t ~/.config
|
||||
ls
|
||||
ls -al
|
||||
ls -al .config\
|
||||
ls -al .config
|
||||
ls
|
||||
stow zsh
|
||||
cd zsh
|
||||
ls -al
|
||||
rm ..DS_Store
|
||||
rm .DS_Store
|
||||
cd ..
|
||||
stow zsh
|
||||
ls
|
||||
stow git
|
||||
stow nvm
|
||||
stow vscode
|
||||
stow -D git
|
||||
stow git -T ~/.git
|
||||
stow git -t ~/.git
|
||||
mkdir ~/.git
|
||||
stow git -t ~/.git
|
||||
stow -D vscode
|
||||
mkdir -p ~/.vscode
|
||||
stow vscode -t ~/.vscode
|
||||
stow -D nvm
|
||||
mkdir -p ~/.nvm
|
||||
stow nvm -t ~/.nvm
|
||||
git help
|
||||
git config help
|
||||
git config email
|
||||
git config user.email
|
||||
|
1
zsh/.zshenv
Normal file
1
zsh/.zshenv
Normal file
@ -0,0 +1 @@
|
||||
. "$HOME/.cargo/env"
|
104
zsh/.zshrc
104
zsh/.zshrc
@ -1,99 +1,9 @@
|
||||
|
||||
# attach to an existing tmux session or create a new one if none exist
|
||||
if [ "$TMUX" = "" ] && [ -z "$TMUX"]; then
|
||||
tmux attach -t $(tmux display-message -p '#S') || tmux new-session
|
||||
fi
|
||||
|
||||
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
||||
# Initialization code that may require console input (password prompts, [y/n]
|
||||
# confirmations, etc.) must go above this block; everything else may go below.
|
||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
fi
|
||||
|
||||
typeset -g POWERLEVEL9K_INSTANT_PROMPT=quiet
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
|
||||
# Path to your oh-my-zsh installation.
|
||||
export ZSH="/home/nigel/.oh-my-zsh"
|
||||
|
||||
bindkey -v
|
||||
bindkey '^R' history-incremental-search-backward
|
||||
bindkey '^S' history-incremental-search-forward
|
||||
|
||||
ZSH_THEME="lambda"
|
||||
|
||||
# Use case-sensitive completion.
|
||||
CASE_SENSITIVE="true"
|
||||
|
||||
# Disable auto-setting terminal title.
|
||||
DISABLE_AUTO_TITLE="true"
|
||||
|
||||
# Enable command auto-correction.
|
||||
ENABLE_CORRECTION="true"
|
||||
|
||||
HIST_STAMPS="dd/mm/yyyy"
|
||||
|
||||
# Which plugins would you like to load?
|
||||
plugins=(git vi-mode zsh-autosuggestions zsh-syntax-highlighting tmux debian themes)
|
||||
|
||||
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
|
||||
source ~/.bashrc
|
||||
|
||||
# Set my language environment
|
||||
export LANG=en_GB.UTF-8
|
||||
|
||||
# Preferred editor for local and remote sessions
|
||||
if [[ -n $SSH_CONNECTION ]]; then
|
||||
export EDITOR='vim'
|
||||
else
|
||||
export EDITOR='nvim'
|
||||
fi
|
||||
|
||||
# Personal aliases
|
||||
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
|
||||
|
||||
# Personal Aliases
|
||||
alias zshconfig="mate ~/.zshrc"
|
||||
alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||
|
||||
# Add Clang-Tools
|
||||
export PATH=$PATH:$HOME/llvm/build/bin
|
||||
|
||||
# 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
|
||||
_dotnet_zsh_complete()
|
||||
{
|
||||
local completions=("$(dotnet complete "$word")")
|
||||
|
||||
reply=( "${(ps:\n:)completions}")
|
||||
|
||||
}
|
||||
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
|
||||
# zsh paramater for dotnet cli tab completion
|
||||
compctl -K _dotnet_zsh_complete dotnet
|
||||
|
||||
eval "$(fzf --zsh)"
|
||||
eval "$(starship init zsh)"
|
||||
eval "$(/usr/local/bin/brew shellenv)"
|
||||
|
||||
echo "Hello, Nigel Barink"
|
||||
|
||||
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
|
Reference in New Issue
Block a user