Initial dotfiles setup Macbook Pro 2016
This commit is contained in:
parent
9f4c35e00e
commit
5c11e953ef
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.DS_Store
|
||||
nvm/.git
|
||||
vscode/extensions
|
@ -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 +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+2PTvEgG4E0Y0gYsGubJcTK53uUbcnF4T4d8oTAmPv6nFc59Txj36GR+x3/XWJ67ItuQ5vDoepRKhlma/mrdzd122wOkYRPSocUSdugsoxJfSCi8Sl0cO7J5xrf9HXckKTXArGPZP+Vuid0jthBuX1KLz8SlXlA36nqhdU1mBZw2UNmJ0jN0y42/rdjx7KsOG20VxDSdROY7ios2UimEDtBp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MxMDE3MjA0
|
||||
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 CRL-----
|
||||
MIIC3TCBxgIBATANBgkqhkiG9w0BAQwFADBiMQswCQYDVQQGEwJVUzEVMBMGA1UE
|
||||
ChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSEwHwYD
|
||||
VQQDExhEaWdpQ2VydCBUcnVzdGVkIFJvb3QgRzQXDTIzMDkyNjE5MzYzMFoXDTIz
|
||||
MTAx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
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
@ -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"
|
||||
###############################################
|
1
nvm
Submodule
1
nvm
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit bab86d5de571015b63fd8fc30b47bbe072a1290e
|
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"
|
176
zsh/.zshrc
176
zsh/.zshrc
@ -1,173 +1,9 @@
|
||||
|
||||
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
|
||||
|
||||
# If you come from bash you might have to change your $PATH.
|
||||
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
||||
|
||||
# Path to your oh-my-zsh installation.
|
||||
export ZSH="/home/nigel/.oh-my-zsh"
|
||||
|
||||
# Set name of the theme to load --- if set to "random", it will
|
||||
# load a random theme each time oh-my-zsh is loaded, in which case,
|
||||
# to know which specific one was loaded, run: echo $RANDOM_THEME
|
||||
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
|
||||
ZSH_THEME="lambda"
|
||||
# "powerlevel10k/powerlevel10k"
|
||||
|
||||
# Set list of themes to pick from when loading at random
|
||||
# Setting this variable when ZSH_THEME=random will cause zsh to load
|
||||
# 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.
|
||||
# CASE_SENSITIVE="true"
|
||||
|
||||
# Uncomment the following line to use hyphen-insensitive completion.
|
||||
# Case-sensitive completion must be off. _ and - will be interchangeable.
|
||||
# HYPHEN_INSENSITIVE="true"
|
||||
|
||||
# Uncomment the following line to disable bi-weekly auto-update checks.
|
||||
# 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?
|
||||
# Standard plugins can be found in $ZSH/plugins/
|
||||
# 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
|
||||
|
||||
# User configuration
|
||||
source ~/.bashrc
|
||||
# export MANPATH="/usr/local/man:$MANPATH"
|
||||
|
||||
# You may need to manually set your language environment
|
||||
# export LANG=en_US.UTF-8
|
||||
|
||||
# Preferred editor for local and remote sessions
|
||||
# if [[ -n $SSH_CONNECTION ]]; then
|
||||
# export EDITOR='vim'
|
||||
# else
|
||||
# export EDITOR='mvim'
|
||||
# fi
|
||||
|
||||
# Compilation flags
|
||||
# export ARCHFLAGS="-arch x86_64"
|
||||
|
||||
# Set personal aliases, overriding those provided by oh-my-zsh libs,
|
||||
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
|
||||
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
|
||||
# For a full list of active aliases, run `alias`.
|
||||
#
|
||||
# Example aliases
|
||||
# alias zshconfig="mate ~/.zshrc"
|
||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||
|
||||
|
||||
|
||||
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()
|
||||
{
|
||||
local completions=("$(dotnet complete "$word")")
|
||||
|
||||
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
|
||||
eval "$(/usr/local/bin/brew shellenv)"
|
||||
|
||||
# >>> conda initialize >>>
|
||||
# !! Contents within this block are managed by 'conda init' !!
|
||||
__conda_setup="$('/home/nigel/anaconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
|
||||
if [ $? -eq 0 ]; then
|
||||
eval "$__conda_setup"
|
||||
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 <<<
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user