working on zsh
This commit is contained in:
@@ -0,0 +1,84 @@
|
||||
# vim:ft=kitty
|
||||
|
||||
## name: Catppuccin Kitty Mocha
|
||||
## author: Catppuccin Org
|
||||
## license: MIT
|
||||
## upstream: https://github.com/catppuccin/kitty/blob/main/themes/mocha.conf
|
||||
## blurb: Soothing pastel theme for the high-spirited!
|
||||
|
||||
|
||||
|
||||
# The basic colors
|
||||
foreground #cdd6f4
|
||||
background #1e1e2e
|
||||
selection_foreground #1e1e2e
|
||||
selection_background #f5e0dc
|
||||
|
||||
# Cursor colors
|
||||
cursor #f5e0dc
|
||||
cursor_text_color #1e1e2e
|
||||
|
||||
# Scrollbar colors
|
||||
scrollbar_handle_color #9399b2
|
||||
scrollbar_track_color #45475a
|
||||
|
||||
# URL color when hovering with mouse
|
||||
url_color #f5e0dc
|
||||
|
||||
# Kitty window border colors
|
||||
active_border_color #b4befe
|
||||
inactive_border_color #6c7086
|
||||
bell_border_color #f9e2af
|
||||
|
||||
# OS Window titlebar colors
|
||||
wayland_titlebar_color system
|
||||
macos_titlebar_color system
|
||||
|
||||
# Tab bar colors
|
||||
active_tab_foreground #11111b
|
||||
active_tab_background #cba6f7
|
||||
inactive_tab_foreground #cdd6f4
|
||||
inactive_tab_background #181825
|
||||
tab_bar_background #11111b
|
||||
|
||||
# Colors for marks (marked text in the terminal)
|
||||
mark1_foreground #1e1e2e
|
||||
mark1_background #b4befe
|
||||
mark2_foreground #1e1e2e
|
||||
mark2_background #cba6f7
|
||||
mark3_foreground #1e1e2e
|
||||
mark3_background #74c7ec
|
||||
|
||||
# The 16 terminal colors
|
||||
|
||||
# black
|
||||
color0 #45475a
|
||||
color8 #585b70
|
||||
|
||||
# red
|
||||
color1 #f38ba8
|
||||
color9 #f38ba8
|
||||
|
||||
# green
|
||||
color2 #a6e3a1
|
||||
color10 #a6e3a1
|
||||
|
||||
# yellow
|
||||
color3 #f9e2af
|
||||
color11 #f9e2af
|
||||
|
||||
# blue
|
||||
color4 #89b4fa
|
||||
color12 #89b4fa
|
||||
|
||||
# magenta
|
||||
color5 #f5c2e7
|
||||
color13 #f5c2e7
|
||||
|
||||
# cyan
|
||||
color6 #94e2d5
|
||||
color14 #94e2d5
|
||||
|
||||
# white
|
||||
color7 #bac2de
|
||||
color15 #a6adc8
|
||||
@@ -0,0 +1,72 @@
|
||||
##############################################
|
||||
# Aliases (source-of-truth)
|
||||
#
|
||||
# This file is written in bash/zsh alias syntax in [bash_zsh], [bash_specific], [zsh_specific].
|
||||
# Fish has different syntax; the Nix module translates [bash_zsh] into fish format and then
|
||||
# appends [fish_specific] as-is.
|
||||
##############################################
|
||||
|
||||
##############################################
|
||||
# Generic aliases (bash/zsh)
|
||||
# These are intended to be available in bash and zsh.
|
||||
##############################################
|
||||
[bash_zsh]
|
||||
alias ll='ls -lah'
|
||||
alias gs='git status'
|
||||
alias ga='git add'
|
||||
alias gc='git commit'
|
||||
alias gp='git push'
|
||||
alias gcp='git add . && git commit && git push'
|
||||
|
||||
alias cd='z'
|
||||
|
||||
alias nps='xdg-open https://search.nixos.org'
|
||||
alias hvnx='cd ~/Repos/nixos/henrovnix_ok'
|
||||
alias emt='hvnx && emacs README.org --batch -f org-babel-tangle && emacs -Q --batch README.org -f org-html-export-to-html'
|
||||
alias nxs='hvnx && sudo nixos-rebuild switch --flake .#traveldroid'
|
||||
alias nxt='hvnx && sudo nixos-rebuild test --flake .#traveldroid'
|
||||
alias nxv='hvnx && sudo nixos-rebuild build-vm --flake .#traveldroid && "$(ls -1 ./result/bin/run-*-vm | head -n 1)"'
|
||||
|
||||
alias rb='systemctl reboot'
|
||||
alias po='systemctl poweroff'
|
||||
|
||||
alias fpl='flatpak list'
|
||||
alias fps='flatpak search'
|
||||
alias fpi='flatpak install'
|
||||
alias fpr='flatpak run'
|
||||
|
||||
alias nxc='ssh henrov@nextcloud.data-pro.nu'
|
||||
|
||||
|
||||
alias vs='code'
|
||||
alias blog='cd ~/Repos/blog && ll'
|
||||
alias keys='hyprctl binds'
|
||||
|
||||
|
||||
##############################################
|
||||
# Shell-specific aliases / examples
|
||||
#
|
||||
# Everything below is COMMENTED OUT on purpose.
|
||||
# These examples show syntax or commands that are shell-specific
|
||||
# (or behave differently across shells).
|
||||
##############################################
|
||||
|
||||
[bash_specific]
|
||||
# Enable recursive globbing (**)
|
||||
# alias sg='shopt -s globstar'
|
||||
|
||||
[zsh_specific]
|
||||
# Recursive globbing works by default in zsh; this prints matches one-per-line
|
||||
# alias recglob='print -l **/*.nix'
|
||||
|
||||
[fish_specific]
|
||||
# Fish has its own language; this is fish-only syntax (not bash/zsh)
|
||||
# alias setvar='set -gx EDITOR emacs'
|
||||
|
||||
[dash_specific]
|
||||
# dash is a minimal POSIX shell; shown here only as an example
|
||||
# alias com='command -v ls'
|
||||
|
||||
[nushell_specific]
|
||||
# Nushell pipelines structured data; this is nu-only syntax
|
||||
# alias fbf='ls | where size > 1mb | get name'
|
||||
@@ -0,0 +1,15 @@
|
||||
##############################################
|
||||
# Enabled shells (source-of-truth)
|
||||
#
|
||||
# Edit this file in the repo:
|
||||
# ./assets/conf/dev/terminal/enabled_shells.conf
|
||||
#
|
||||
# After changing, rebuild Home Manager / your system as you normally do.
|
||||
##############################################
|
||||
|
||||
[enabled_shells]
|
||||
bash = yes
|
||||
zsh = yes
|
||||
fish = no
|
||||
dash = no
|
||||
nushell = no
|
||||
Reference in New Issue
Block a user