# <type>: (If applied, this commit will...) <subject> (Max 50 char) | |||||
# |<---- Using a Maximum Of 50 Characters ---->| | |||||
# Explain why this change is being made | |||||
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->| | |||||
# Provide links or keys to any relevant tickets, articles or other resources | |||||
# Example: Github issue #23 | |||||
# --- COMMIT END --- | |||||
# Type can be | |||||
# feat (new feature) | |||||
# fix (bug fix) | |||||
# refactor (refactoring production code) | |||||
# style (formatting, missing semi colons, etc; no code change) | |||||
# docs (changes to documentation) | |||||
# test (adding or refactoring tests; no production code change) | |||||
# chore (updating grunt tasks etc; no production code change) | |||||
# -------------------- | |||||
# Remember to | |||||
# - Capitalize the subject line | |||||
# - Use the imperative mood in the subject line | |||||
# - Do not end the subject line with a period | |||||
# - Separate subject from body with a blank line | |||||
# - Use the body to explain what and why vs. how | |||||
# - Can use multiple lines with "-" for bullet points in body | |||||
# -------------------- | |||||
# For updated template, visit: | |||||
# https://gist.github.com/adeekshith/cd4c95a064977cdc6c50 | |||||
# Licence CC |
ref: refs/heads/main |
include diff.conf | |||||
include dracula.conf | |||||
font_family inconsolata mono 12 | |||||
tab_bar_min_tabs 2 | |||||
tab_bar_style powerline | |||||
url_style single | |||||
strip_trailing_spaces always | |||||
bell_on_tab yes | |||||
window_alert_on_bell yes | |||||
enable_audio_bell no | |||||
background_opacity 0.95 | |||||
# BEGIN_KITTY_THEME | |||||
# Catppuccin-Macchiato | |||||
include current-theme.conf | |||||
# END_KITTY_THEME |
# vim:ft=kitty | |||||
## name: Catppuccin-Macchiato | |||||
## author: Pocco81 (https://github.com/Pocco81) | |||||
## license: MIT | |||||
## upstream: https://github.com/catppuccin/kitty/blob/main/macchiato.conf | |||||
## blurb: Soothing pastel theme for the high-spirited! | |||||
# The basic colors | |||||
foreground #CAD3F5 | |||||
background #24273A | |||||
selection_foreground #24273A | |||||
selection_background #F4DBD6 | |||||
# Cursor colors | |||||
cursor #F4DBD6 | |||||
cursor_text_color #24273A | |||||
# URL underline color when hovering with mouse | |||||
url_color #F4DBD6 | |||||
# Kitty window border colors | |||||
active_border_color #B7BDF8 | |||||
inactive_border_color #6E738D | |||||
bell_border_color #EED49F | |||||
# OS Window titlebar colors | |||||
wayland_titlebar_color system | |||||
macos_titlebar_color system | |||||
# Tab bar colors | |||||
active_tab_foreground #181926 | |||||
active_tab_background #C6A0F6 | |||||
inactive_tab_foreground #CAD3F5 | |||||
inactive_tab_background #1E2030 | |||||
tab_bar_background #181926 | |||||
# Colors for marks (marked text in the terminal) | |||||
mark1_foreground #24273A | |||||
mark1_background #B7BDF8 | |||||
mark2_foreground #24273A | |||||
mark2_background #C6A0F6 | |||||
mark3_foreground #24273A | |||||
mark3_background #7DC4E4 | |||||
# The 16 terminal colors | |||||
# black | |||||
color0 #494D64 | |||||
color8 #5B6078 | |||||
# red | |||||
color1 #ED8796 | |||||
color9 #ED8796 | |||||
# green | |||||
color2 #A6DA95 | |||||
color10 #A6DA95 | |||||
# yellow | |||||
color3 #EED49F | |||||
color11 #EED49F | |||||
# blue | |||||
color4 #8AADF4 | |||||
color12 #8AADF4 | |||||
# magenta | |||||
color5 #F5BDE6 | |||||
color13 #F5BDE6 | |||||
# cyan | |||||
color6 #8BD5CA | |||||
color14 #8BD5CA | |||||
# white | |||||
color7 #B8C0E0 | |||||
color15 #A5ADCB |
alias ..="cd .." | |||||
alias ...="cd ../.." | |||||
alias ....="cd ../../.." | |||||
alias .....="cd ../../../.." | |||||
# vscode alias | |||||
alias "c"="$(which code) ./" | |||||
# ls stuff | |||||
alias ls="ls --color=auto" | |||||
alias la="ls -Ah" | |||||
alias ll="ls -lh" | |||||
alias lla="ls -Alh" |
export GOPATH=$HOME/code/go | |||||
export PATH=$PATH:$HOME/.local/bin:$GOPATH/bin | |||||
export EDITOR="nvim"; | |||||
# Prefer UK English and use UTF-8. | |||||
export LANG='en_GB.UTF-8'; | |||||
export LC_ALL='en_GB.UTF-8'; |
# Create a new directory and enter it | |||||
function mkd() { | |||||
mkdir -p "$argv";cd "$argv"; | |||||
} | |||||
# Wraps opening a tomb with removing swap and readding it later (hard coded for Roxie's method of swapfiles) | |||||
function tombs() { | |||||
sudo swapoff -a | |||||
tomb $@ | |||||
sudo swapon /swapfile | |||||
swapon --show | |||||
} | |||||
totp_uri() { | |||||
# Args are Secret - Username - Provider | |||||
echo "otpauth://totp/${2}?secret=${1}&issuer=${3}" | |||||
} |
export GOPATH="$HOME/code/go" # Generic for now but maybe customise with direnv? | |||||
export GO111MODULE="on" |
/usr/share/zsh/plugins/zsh-autosuggestions |
/usr/share/zsh/site-functions |
/usr/share/zsh/plugins/zsh-history-substring-search |
/usr/share/zsh/plugins/zsh-syntax-highlighting |
# Make Python use UTF-8 encoding for output to stdin, stdout, and stderr. | |||||
export PYTHONIOENCODING="UTF-8" | |||||
# Pipenv config for making venvs in project dir | |||||
export PIPENV_VENV_IN_PROJECT=1 |
# Don't print a new line at the start of the prompt | |||||
add_newline = false | |||||
# Disable the package module, hiding it from the prompt completely | |||||
[package] | |||||
disabled = true | |||||
[aws] | |||||
symbol = " " | |||||
[conda] | |||||
symbol = " " | |||||
[dart] | |||||
symbol = " " | |||||
[directory] | |||||
read_only = " " | |||||
[docker] | |||||
symbol = " " | |||||
[elixir] | |||||
symbol = " " | |||||
[elm] | |||||
symbol = " " | |||||
[git_branch] | |||||
symbol = "🌱 " | |||||
[golang] | |||||
symbol = " " | |||||
[haskell] | |||||
symbol = " " | |||||
[hg_branch] | |||||
symbol = " " | |||||
[java] | |||||
symbol = " " | |||||
[julia] | |||||
symbol = " " | |||||
[memory_usage] | |||||
symbol = " " | |||||
[nim] | |||||
symbol = " " | |||||
[nix_shell] | |||||
symbol = " " | |||||
[nodejs] | |||||
symbol = " " | |||||
[perl] | |||||
symbol = " " | |||||
[php] | |||||
symbol = " " | |||||
[python] | |||||
symbol = " " | |||||
scan_for_pyfiles = false | |||||
[ruby] | |||||
symbol = " " | |||||
[rust] | |||||
symbol = " " | |||||
# Spaceship prompt | |||||
autoload -U promptinit; promptinit | |||||
prompt spaceship | |||||
SPACESHIP_PROMPT_ADD_NEWLINE=false | |||||
SPACESHIP_PROMPT_SEPARATE_LINE=true | |||||
SPACESHIP_PROMPT_ORDER=( | |||||
user # Username section | |||||
dir # Current directory section | |||||
host # Hostname section | |||||
git # Git section (git_branch + git_status) | |||||
package # Package version | |||||
node # Node.js section | |||||
ruby # Ruby section | |||||
golang # Go section | |||||
php # PHP section | |||||
rust # Rust section | |||||
docker # Docker section | |||||
python | |||||
conda # conda virtualenv section | |||||
dotnet # .NET section | |||||
exec_time # Execution time | |||||
line_sep # Line break | |||||
jobs # Background jobs indicator | |||||
exit_code # Exit code section | |||||
char # Prompt character | |||||
) | |||||
SPACESHIP_RPROMPT_ORDER=( | |||||
battery | |||||
time | |||||
) | |||||
SPACESHIP_TIME_SHOW=true | |||||
# Completion for kitty | |||||
if which kitty > /dev/null; then | |||||
kitty + complete setup zsh | source /dev/stdin | |||||
fi | |||||
# keychain | |||||
#eval $(keychain --eval --quiet --agents "gpg,ssh" id_ed25519 id_rsa) | |||||
[user] | |||||
name = Roxie Gibson | |||||
email = me@roxxers.xyz | |||||
signingKey = 49B0A560F2C05D0A4460B6935D0140EDEE123F4D | |||||
[init] | |||||
templateDir = /home/roxie/.config/git/template/init | |||||
[commit] | |||||
gpgsign = true | |||||
template = /home/roxie/.config/git/template/commit | |||||
[include] | |||||
path = .config/git/aliases | |||||
[tag] | |||||
forceSignAnnotated = true | |||||
[pull] | |||||
rebase = true |
Include config.d/* |
Host gateway-uk-1 | |||||
Hostname 77.68.74.169 | |||||
Port 22543 | |||||
User roxie | |||||
Host lesbos | |||||
Hostname 192.168.0.4 | |||||
Port 42112 | |||||
User roxie | |||||
Host lesbos.boot | |||||
Hostname 192.168.0.4 | |||||
Port 22 | |||||
User root | |||||
UserKnownHostsFile ~/.ssh/known_hosts.boot |
# History in cache directory: | |||||
HISTSIZE=10000 | |||||
SAVEHIST=10000 | |||||
HISTFILE=~/.cache/zsh/history | |||||
export ZSH="/usr/share/oh-my-zsh" # make this into template | |||||
# ZSH settings | |||||
HYPHEN_INSENSITIVE="true" | |||||
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=8' | |||||
HIST_STAMPS="yyyy-mm-dd" | |||||
ZSH_CUSTOM="$HOME/.config/zsh" | |||||
DISABLE_AUTO_UPDATE="true" | |||||
plugins=( | |||||
archlinux | |||||
ansible | |||||
golang | |||||
pass | |||||
zsh-interactive-cd | |||||
#fzf | |||||
systemd | |||||
ssh-agent | |||||
httpie | |||||
colorize | |||||
cp # adds cpv command for using rsync like cp for local dirs | |||||
direnv | |||||
extract # adds x command to extract any archive | |||||
git # git aliases for the cli | |||||
#git-prompt | |||||
python | |||||
virtualenvwrapper | |||||
ufw | |||||
zsh-autosuggestions | |||||
zsh-syntax-highlighting | |||||
history-substring-search | |||||
) | |||||
# zsh completions | |||||
autoload -U compinit && compinit | |||||
source $ZSH/oh-my-zsh.sh | |||||