Compare commits
23 Commits
09aa1d67f6
...
main
Author | SHA1 | Date | |
---|---|---|---|
6255aeb130 | |||
bed3e5ca5c | |||
b710ee96de | |||
ce520bded1 | |||
73c3be994a | |||
dfa1e27260 | |||
663e1b9c4c | |||
69104c2bf1 | |||
f1d164ce06 | |||
78a893084d | |||
b89e6b45ba | |||
68f7ac6f9c | |||
e7031d8379 | |||
41b6216fa3 | |||
daf07d01ec | |||
064d72392d | |||
62906a8b3b | |||
be10da81b2 | |||
b12b9b4812 | |||
6d3af676eb | |||
6109089d88 | |||
dca06c1351 | |||
e52624cc7a |
4
.config/environment.d/devkitpro.conf
Normal file
4
.config/environment.d/devkitpro.conf
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
# DevKitPro
|
||||||
|
DEVKITPRO=/opt/devkitpro
|
||||||
|
DEVKITARM=/opt/devkitpro/devkitARM
|
||||||
|
DEVKITPPC=/opt/devkitpro/devkitPPC
|
3
.config/environment.d/fcitx5.conf
Normal file
3
.config/environment.d/fcitx5.conf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
GTK_IM_MODULE = fcitx
|
||||||
|
QT_IM_MODULE = fcitx
|
||||||
|
XMODIFIERS = "@im=fcitx"
|
1
.config/environment.d/qt5.conf
Normal file
1
.config/environment.d/qt5.conf
Normal file
@@ -0,0 +1 @@
|
|||||||
|
QT_QPA_PLATFORMTHEME=qt5ct
|
1
.config/ghostty/config
Normal file
1
.config/ghostty/config
Normal file
@@ -0,0 +1 @@
|
|||||||
|
font-family = CaskaydiaCove Nerd Font
|
@@ -1 +1,22 @@
|
|||||||
theme = "onedark"
|
theme = "onedark"
|
||||||
|
|
||||||
|
[editor]
|
||||||
|
color-modes = true
|
||||||
|
auto-save = true
|
||||||
|
bufferline = "multiple"
|
||||||
|
end-of-line-diagnostics = "hint"
|
||||||
|
|
||||||
|
[editor.inline-diagnostics]
|
||||||
|
cursor-line = "warning"
|
||||||
|
|
||||||
|
[editor.indent-guides]
|
||||||
|
render = true
|
||||||
|
|
||||||
|
[editor.soft-wrap]
|
||||||
|
enable = true
|
||||||
|
|
||||||
|
[editor.lsp]
|
||||||
|
display-inlay-hints = true
|
||||||
|
|
||||||
|
[editor.statusline]
|
||||||
|
center = ["version-control"]
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
font_family JetBrainsMono Nerd Font
|
font_family CaskaydiaCove Nerd Font
|
||||||
bold_font auto
|
bold_font auto
|
||||||
italic_font auto
|
italic_font auto
|
||||||
bold_italic_font auto
|
bold_italic_font auto
|
||||||
|
315
.config/zellij/config.kdl
Normal file
315
.config/zellij/config.kdl
Normal file
@@ -0,0 +1,315 @@
|
|||||||
|
// If you'd like to override the default keybindings completely, be sure to change "keybinds" to "keybinds clear-defaults=true"
|
||||||
|
keybinds {
|
||||||
|
normal {
|
||||||
|
// uncomment this and adjust key if using copy_on_select=false
|
||||||
|
// bind "Alt c" { Copy; }
|
||||||
|
}
|
||||||
|
locked {
|
||||||
|
bind "Ctrl g" { SwitchToMode "Normal"; }
|
||||||
|
}
|
||||||
|
resize {
|
||||||
|
bind "Ctrl n" { SwitchToMode "Normal"; }
|
||||||
|
bind "h" "Left" { Resize "Increase Left"; }
|
||||||
|
bind "j" "Down" { Resize "Increase Down"; }
|
||||||
|
bind "k" "Up" { Resize "Increase Up"; }
|
||||||
|
bind "l" "Right" { Resize "Increase Right"; }
|
||||||
|
bind "H" { Resize "Decrease Left"; }
|
||||||
|
bind "J" { Resize "Decrease Down"; }
|
||||||
|
bind "K" { Resize "Decrease Up"; }
|
||||||
|
bind "L" { Resize "Decrease Right"; }
|
||||||
|
bind "=" "+" { Resize "Increase"; }
|
||||||
|
bind "-" { Resize "Decrease"; }
|
||||||
|
}
|
||||||
|
pane {
|
||||||
|
bind "Ctrl p" { SwitchToMode "Normal"; }
|
||||||
|
bind "h" "Left" { MoveFocus "Left"; }
|
||||||
|
bind "l" "Right" { MoveFocus "Right"; }
|
||||||
|
bind "j" "Down" { MoveFocus "Down"; }
|
||||||
|
bind "k" "Up" { MoveFocus "Up"; }
|
||||||
|
bind "p" { SwitchFocus; }
|
||||||
|
bind "n" { NewPane; SwitchToMode "Normal"; }
|
||||||
|
bind "d" { NewPane "Down"; SwitchToMode "Normal"; }
|
||||||
|
bind "r" { NewPane "Right"; SwitchToMode "Normal"; }
|
||||||
|
bind "x" { CloseFocus; SwitchToMode "Normal"; }
|
||||||
|
bind "f" { ToggleFocusFullscreen; SwitchToMode "Normal"; }
|
||||||
|
bind "z" { TogglePaneFrames; SwitchToMode "Normal"; }
|
||||||
|
bind "w" { ToggleFloatingPanes; SwitchToMode "Normal"; }
|
||||||
|
bind "e" { TogglePaneEmbedOrFloating; SwitchToMode "Normal"; }
|
||||||
|
bind "c" { SwitchToMode "RenamePane"; PaneNameInput 0;}
|
||||||
|
}
|
||||||
|
move {
|
||||||
|
bind "Ctrl h" { SwitchToMode "Normal"; }
|
||||||
|
bind "n" "Tab" { MovePane; }
|
||||||
|
bind "p" { MovePaneBackwards; }
|
||||||
|
bind "h" "Left" { MovePane "Left"; }
|
||||||
|
bind "j" "Down" { MovePane "Down"; }
|
||||||
|
bind "k" "Up" { MovePane "Up"; }
|
||||||
|
bind "l" "Right" { MovePane "Right"; }
|
||||||
|
}
|
||||||
|
tab {
|
||||||
|
bind "Ctrl t" { SwitchToMode "Normal"; }
|
||||||
|
bind "r" { SwitchToMode "RenameTab"; TabNameInput 0; }
|
||||||
|
bind "h" "Left" "Up" "k" { GoToPreviousTab; }
|
||||||
|
bind "l" "Right" "Down" "j" { GoToNextTab; }
|
||||||
|
bind "n" { NewTab; SwitchToMode "Normal"; }
|
||||||
|
bind "x" { CloseTab; SwitchToMode "Normal"; }
|
||||||
|
bind "s" { ToggleActiveSyncTab; SwitchToMode "Normal"; }
|
||||||
|
bind "1" { GoToTab 1; SwitchToMode "Normal"; }
|
||||||
|
bind "2" { GoToTab 2; SwitchToMode "Normal"; }
|
||||||
|
bind "3" { GoToTab 3; SwitchToMode "Normal"; }
|
||||||
|
bind "4" { GoToTab 4; SwitchToMode "Normal"; }
|
||||||
|
bind "5" { GoToTab 5; SwitchToMode "Normal"; }
|
||||||
|
bind "6" { GoToTab 6; SwitchToMode "Normal"; }
|
||||||
|
bind "7" { GoToTab 7; SwitchToMode "Normal"; }
|
||||||
|
bind "8" { GoToTab 8; SwitchToMode "Normal"; }
|
||||||
|
bind "9" { GoToTab 9; SwitchToMode "Normal"; }
|
||||||
|
bind "Tab" { ToggleTab; }
|
||||||
|
}
|
||||||
|
scroll {
|
||||||
|
bind "Ctrl s" { SwitchToMode "Normal"; }
|
||||||
|
bind "e" { EditScrollback; SwitchToMode "Normal"; }
|
||||||
|
bind "s" { SwitchToMode "EnterSearch"; SearchInput 0; }
|
||||||
|
bind "Ctrl c" { ScrollToBottom; SwitchToMode "Normal"; }
|
||||||
|
bind "j" "Down" { ScrollDown; }
|
||||||
|
bind "k" "Up" { ScrollUp; }
|
||||||
|
bind "Ctrl f" "PageDown" "Right" "l" { PageScrollDown; }
|
||||||
|
bind "Ctrl b" "PageUp" "Left" "h" { PageScrollUp; }
|
||||||
|
bind "d" { HalfPageScrollDown; }
|
||||||
|
bind "u" { HalfPageScrollUp; }
|
||||||
|
// uncomment this and adjust key if using copy_on_select=false
|
||||||
|
// bind "Alt c" { Copy; }
|
||||||
|
}
|
||||||
|
search {
|
||||||
|
bind "Ctrl s" { SwitchToMode "Normal"; }
|
||||||
|
bind "Ctrl c" { ScrollToBottom; SwitchToMode "Normal"; }
|
||||||
|
bind "j" "Down" { ScrollDown; }
|
||||||
|
bind "k" "Up" { ScrollUp; }
|
||||||
|
bind "Ctrl f" "PageDown" "Right" "l" { PageScrollDown; }
|
||||||
|
bind "Ctrl b" "PageUp" "Left" "h" { PageScrollUp; }
|
||||||
|
bind "d" { HalfPageScrollDown; }
|
||||||
|
bind "u" { HalfPageScrollUp; }
|
||||||
|
bind "n" { Search "down"; }
|
||||||
|
bind "p" { Search "up"; }
|
||||||
|
bind "c" { SearchToggleOption "CaseSensitivity"; }
|
||||||
|
bind "w" { SearchToggleOption "Wrap"; }
|
||||||
|
bind "o" { SearchToggleOption "WholeWord"; }
|
||||||
|
}
|
||||||
|
entersearch {
|
||||||
|
bind "Ctrl c" "Esc" { SwitchToMode "Scroll"; }
|
||||||
|
bind "Enter" { SwitchToMode "Search"; }
|
||||||
|
}
|
||||||
|
renametab {
|
||||||
|
bind "Ctrl c" { SwitchToMode "Normal"; }
|
||||||
|
bind "Esc" { UndoRenameTab; SwitchToMode "Tab"; }
|
||||||
|
}
|
||||||
|
renamepane {
|
||||||
|
bind "Ctrl c" { SwitchToMode "Normal"; }
|
||||||
|
bind "Esc" { UndoRenamePane; SwitchToMode "Pane"; }
|
||||||
|
}
|
||||||
|
session {
|
||||||
|
bind "Ctrl o" { SwitchToMode "Normal"; }
|
||||||
|
bind "Ctrl s" { SwitchToMode "Scroll"; }
|
||||||
|
bind "d" { Detach; }
|
||||||
|
}
|
||||||
|
tmux {
|
||||||
|
bind "[" { SwitchToMode "Scroll"; }
|
||||||
|
bind "Ctrl b" { Write 2; SwitchToMode "Normal"; }
|
||||||
|
bind "\"" { NewPane "Down"; SwitchToMode "Normal"; }
|
||||||
|
bind "%" { NewPane "Right"; SwitchToMode "Normal"; }
|
||||||
|
bind "z" { ToggleFocusFullscreen; SwitchToMode "Normal"; }
|
||||||
|
bind "c" { NewTab; SwitchToMode "Normal"; }
|
||||||
|
bind "," { SwitchToMode "RenameTab"; }
|
||||||
|
bind "p" { GoToPreviousTab; SwitchToMode "Normal"; }
|
||||||
|
bind "n" { GoToNextTab; SwitchToMode "Normal"; }
|
||||||
|
bind "Left" { MoveFocus "Left"; SwitchToMode "Normal"; }
|
||||||
|
bind "Right" { MoveFocus "Right"; SwitchToMode "Normal"; }
|
||||||
|
bind "Down" { MoveFocus "Down"; SwitchToMode "Normal"; }
|
||||||
|
bind "Up" { MoveFocus "Up"; SwitchToMode "Normal"; }
|
||||||
|
bind "h" { MoveFocus "Left"; SwitchToMode "Normal"; }
|
||||||
|
bind "l" { MoveFocus "Right"; SwitchToMode "Normal"; }
|
||||||
|
bind "j" { MoveFocus "Down"; SwitchToMode "Normal"; }
|
||||||
|
bind "k" { MoveFocus "Up"; SwitchToMode "Normal"; }
|
||||||
|
bind "o" { FocusNextPane; }
|
||||||
|
bind "d" { Detach; }
|
||||||
|
bind "Space" { NextSwapLayout; }
|
||||||
|
bind "x" { CloseFocus; SwitchToMode "Normal"; }
|
||||||
|
}
|
||||||
|
shared_except "locked" {
|
||||||
|
bind "Ctrl g" { SwitchToMode "Locked"; }
|
||||||
|
bind "Ctrl q" { Quit; }
|
||||||
|
bind "Alt n" { NewPane; }
|
||||||
|
bind "Alt h" "Alt Left" { MoveFocusOrTab "Left"; }
|
||||||
|
bind "Alt l" "Alt Right" { MoveFocusOrTab "Right"; }
|
||||||
|
bind "Alt j" "Alt Down" { MoveFocus "Down"; }
|
||||||
|
bind "Alt k" "Alt Up" { MoveFocus "Up"; }
|
||||||
|
bind "Alt =" "Alt +" { Resize "Increase"; }
|
||||||
|
bind "Alt -" { Resize "Decrease"; }
|
||||||
|
bind "Alt [" { PreviousSwapLayout; }
|
||||||
|
bind "Alt ]" { NextSwapLayout; }
|
||||||
|
}
|
||||||
|
shared_except "normal" "locked" {
|
||||||
|
bind "Enter" "Esc" { SwitchToMode "Normal"; }
|
||||||
|
}
|
||||||
|
shared_except "pane" "locked" {
|
||||||
|
bind "Ctrl p" { SwitchToMode "Pane"; }
|
||||||
|
}
|
||||||
|
shared_except "resize" "locked" {
|
||||||
|
bind "Ctrl n" { SwitchToMode "Resize"; }
|
||||||
|
}
|
||||||
|
shared_except "scroll" "locked" {
|
||||||
|
bind "Ctrl s" { SwitchToMode "Scroll"; }
|
||||||
|
}
|
||||||
|
shared_except "session" "locked" {
|
||||||
|
bind "Ctrl o" { SwitchToMode "Session"; }
|
||||||
|
}
|
||||||
|
shared_except "tab" "locked" {
|
||||||
|
bind "Ctrl t" { SwitchToMode "Tab"; }
|
||||||
|
}
|
||||||
|
shared_except "move" "locked" {
|
||||||
|
bind "Ctrl h" { SwitchToMode "Move"; }
|
||||||
|
}
|
||||||
|
shared_except "tmux" "locked" {
|
||||||
|
bind "Ctrl b" { SwitchToMode "Tmux"; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
plugins {
|
||||||
|
tab-bar { path "tab-bar"; }
|
||||||
|
status-bar { path "status-bar"; }
|
||||||
|
strider { path "strider"; }
|
||||||
|
compact-bar { path "compact-bar"; }
|
||||||
|
}
|
||||||
|
|
||||||
|
// Choose what to do when zellij receives SIGTERM, SIGINT, SIGQUIT or SIGHUP
|
||||||
|
// eg. when terminal window with an active zellij session is closed
|
||||||
|
// Options:
|
||||||
|
// - detach (Default)
|
||||||
|
// - quit
|
||||||
|
//
|
||||||
|
// on_force_close "quit"
|
||||||
|
|
||||||
|
// Send a request for a simplified ui (without arrow fonts) to plugins
|
||||||
|
// Options:
|
||||||
|
// - true
|
||||||
|
// - false (Default)
|
||||||
|
//
|
||||||
|
simplified_ui true
|
||||||
|
|
||||||
|
// Choose the path to the default shell that zellij will use for opening new panes
|
||||||
|
// Default: $SHELL
|
||||||
|
//
|
||||||
|
// default_shell "fish"
|
||||||
|
|
||||||
|
// Choose the path to override cwd that zellij will use for opening new panes
|
||||||
|
//
|
||||||
|
// default_cwd ""
|
||||||
|
|
||||||
|
// Toggle between having pane frames around the panes
|
||||||
|
// Options:
|
||||||
|
// - true (default)
|
||||||
|
// - false
|
||||||
|
//
|
||||||
|
pane_frames false
|
||||||
|
|
||||||
|
// Toggle between having Zellij lay out panes according to a predefined set of layouts whenever possible
|
||||||
|
// Options:
|
||||||
|
// - true (default)
|
||||||
|
// - false
|
||||||
|
//
|
||||||
|
// auto_layout true
|
||||||
|
|
||||||
|
// Define color themes for Zellij
|
||||||
|
// For more examples, see: https://github.com/zellij-org/zellij/tree/main/example/themes
|
||||||
|
// Once these themes are defined, one of them should to be selected in the "theme" section of this file
|
||||||
|
//
|
||||||
|
// themes {
|
||||||
|
// dracula {
|
||||||
|
// fg 248 248 242
|
||||||
|
// bg 40 42 54
|
||||||
|
// red 255 85 85
|
||||||
|
// green 80 250 123
|
||||||
|
// yellow 241 250 140
|
||||||
|
// blue 98 114 164
|
||||||
|
// magenta 255 121 198
|
||||||
|
// orange 255 184 108
|
||||||
|
// cyan 139 233 253
|
||||||
|
// black 0 0 0
|
||||||
|
// white 255 255 255
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
|
||||||
|
// Choose the theme that is specified in the themes section.
|
||||||
|
// Default: default
|
||||||
|
//
|
||||||
|
// theme "default"
|
||||||
|
|
||||||
|
// The name of the default layout to load on startup
|
||||||
|
// Default: "default"
|
||||||
|
//
|
||||||
|
// default_layout "compact"
|
||||||
|
|
||||||
|
// Choose the mode that zellij uses when starting up.
|
||||||
|
// Default: normal
|
||||||
|
//
|
||||||
|
// default_mode "locked"
|
||||||
|
|
||||||
|
// Toggle enabling the mouse mode.
|
||||||
|
// On certain configurations, or terminals this could
|
||||||
|
// potentially interfere with copying text.
|
||||||
|
// Options:
|
||||||
|
// - true (default)
|
||||||
|
// - false
|
||||||
|
//
|
||||||
|
// mouse_mode false
|
||||||
|
|
||||||
|
// Configure the scroll back buffer size
|
||||||
|
// This is the number of lines zellij stores for each pane in the scroll back
|
||||||
|
// buffer. Excess number of lines are discarded in a FIFO fashion.
|
||||||
|
// Valid values: positive integers
|
||||||
|
// Default value: 10000
|
||||||
|
//
|
||||||
|
// scroll_buffer_size 10000
|
||||||
|
|
||||||
|
// Provide a command to execute when copying text. The text will be piped to
|
||||||
|
// the stdin of the program to perform the copy. This can be used with
|
||||||
|
// terminal emulators which do not support the OSC 52 ANSI control sequence
|
||||||
|
// that will be used by default if this option is not set.
|
||||||
|
// Examples:
|
||||||
|
//
|
||||||
|
// copy_command "xclip -selection clipboard" // x11
|
||||||
|
// copy_command "wl-copy" // wayland
|
||||||
|
// copy_command "pbcopy" // osx
|
||||||
|
|
||||||
|
// Choose the destination for copied text
|
||||||
|
// Allows using the primary selection buffer (on x11/wayland) instead of the system clipboard.
|
||||||
|
// Does not apply when using copy_command.
|
||||||
|
// Options:
|
||||||
|
// - system (default)
|
||||||
|
// - primary
|
||||||
|
//
|
||||||
|
// copy_clipboard "primary"
|
||||||
|
|
||||||
|
// Enable or disable automatic copy (and clear) of selection when releasing mouse
|
||||||
|
// Default: true
|
||||||
|
//
|
||||||
|
// copy_on_select false
|
||||||
|
|
||||||
|
// Path to the default editor to use to edit pane scrollbuffer
|
||||||
|
// Default: $EDITOR or $VISUAL
|
||||||
|
//
|
||||||
|
// scrollback_editor "/usr/bin/vim"
|
||||||
|
|
||||||
|
// When attaching to an existing session with other users,
|
||||||
|
// should the session be mirrored (true)
|
||||||
|
// or should each user have their own cursor (false)
|
||||||
|
// Default: false
|
||||||
|
//
|
||||||
|
// mirror_session true
|
||||||
|
|
||||||
|
// The folder in which Zellij will look for layouts
|
||||||
|
//
|
||||||
|
// layout_dir "/path/to/my/layout_dir"
|
||||||
|
|
||||||
|
// The folder in which Zellij will look for themes
|
||||||
|
//
|
||||||
|
// theme_dir "/path/to/my/theme_dir"
|
8
.config/zls.json
Normal file
8
.config/zls.json
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"inlay_hints_show_builtin": false,
|
||||||
|
"inlay_hints_exclude_single_argument": false,
|
||||||
|
"inlay_hints_hide_redundant_param_names": true,
|
||||||
|
"inlay_hints_hide_redundant_param_names_last_token": true,
|
||||||
|
"warn_style": true,
|
||||||
|
"use_comptime_interpreter": false
|
||||||
|
}
|
@@ -1,28 +0,0 @@
|
|||||||
#!/usr/bin/bash
|
|
||||||
|
|
||||||
# Delay between running the command and flameshot launching
|
|
||||||
DELAY=$1
|
|
||||||
|
|
||||||
# Make the temp directory if it doesn't already exist
|
|
||||||
mkdir -p /tmp/jptesseract;
|
|
||||||
|
|
||||||
# flameshot is currently unable to only send output to stdout
|
|
||||||
# If we use flameshot gui --raw, we will send output to stdout and
|
|
||||||
# attempt to write a .png file. We **do not** want this .png file, since we can't
|
|
||||||
# easily predict the file name. Omitting --path causes a file explorer dialog to appear
|
|
||||||
# upon save. Writing to /dev/null is not allowed either, so our only option is to write them
|
|
||||||
# to somewhere we don't care about.
|
|
||||||
|
|
||||||
mkdir -p /tmp/jptesseract/.useless;
|
|
||||||
|
|
||||||
# Make sure we're in the right $PWD
|
|
||||||
cd /tmp/jptesseract || exit;
|
|
||||||
|
|
||||||
# Screenshot with flameshot, save to /tmp directory
|
|
||||||
if flameshot gui -d "$DELAY" -r --path /tmp/jptesseract/.useless > /tmp/jptesseract/jp_text_image.png; then
|
|
||||||
# Read from /tmp directory with Tesseract
|
|
||||||
tesseract -l jpn -c preserve_interword_spaces=1 /tmp/jptesseract/jp_text_image.png /tmp/jptesseract/jp_output
|
|
||||||
|
|
||||||
# Remove \f which will be present at the end of jp_output
|
|
||||||
tr -d '\f' < /tmp/jptesseract/jp_output.txt | xclip -selection clipboard;
|
|
||||||
fi
|
|
@@ -1,3 +0,0 @@
|
|||||||
#!/usr/bin/sh
|
|
||||||
|
|
||||||
flameshot full -c --path ~/Pictures/Screenshots;
|
|
@@ -1,7 +0,0 @@
|
|||||||
#!/usr/bin/sh
|
|
||||||
|
|
||||||
# Take screenshot w/ selection tools, save to ~/Pictures/Screenshots, and also
|
|
||||||
# write the image to a temp file (so we can put the image in the clipboard also)
|
|
||||||
if flameshot gui -r --path ~/Pictures/Screenshots > /tmp/flameshot_screenshot.png; then
|
|
||||||
xclip -selection clipboard -t image/png < /tmp/flameshot_screenshot.png;
|
|
||||||
fi
|
|
@@ -1,3 +0,0 @@
|
|||||||
GTK_IM_MODULE DEFAULT=fcitx
|
|
||||||
QT_IM_MODULE DEFAULT=fcitx
|
|
||||||
XMODIFIERS DEFAULT=\@im=fcitx
|
|
9
.paodarc
9
.paodarc
@@ -5,14 +5,15 @@
|
|||||||
# Aliases
|
# Aliases
|
||||||
alias yay="yay --aur"
|
alias yay="yay --aur"
|
||||||
alias paru="paru --aur"
|
alias paru="paru --aur"
|
||||||
alias ls="exa"
|
alias ls="eza"
|
||||||
alias ll="exa -albh"
|
alias ll="eza -albh"
|
||||||
|
# alias hx="helix"
|
||||||
alias cat="bat"
|
alias cat="bat"
|
||||||
alias vim="nvim"
|
|
||||||
alias find="fd"
|
alias find="fd"
|
||||||
alias grep="rg"
|
alias grep="rg"
|
||||||
alias open="xdg-open"
|
alias open="xdg-open"
|
||||||
alias zigup="zigup --path-link /home/paoda/.local/bin/zig --install-dir /opt/zigup/zig"
|
alias zigup="zigup --path-link /home/paoda/.local/bin/zig --install-dir /home/paoda/.local/share/zigup/zig"
|
||||||
|
alias objdump="objdump -M intel --disassembler-color=extended-color --visualize-jumps=extended-color"
|
||||||
|
|
||||||
# Functions
|
# Functions
|
||||||
dotfile() {
|
dotfile() {
|
||||||
|
24
.zshenv
24
.zshenv
@@ -1,22 +1,30 @@
|
|||||||
# DenoJS
|
# DenoJS
|
||||||
export DENO_INSTALL="/home/paoda/.deno"
|
export DENO_INSTALL="$HOME/.deno"
|
||||||
export PATH="$DENO_INSTALL/bin:$PATH"
|
export PATH="$DENO_INSTALL/bin:$PATH"
|
||||||
|
|
||||||
# Set Default Editor
|
# Set Default Editor
|
||||||
export EDITOR="/usr/bin/hx"
|
export EDITOR="$HOME/.cargo/bin/hx"
|
||||||
|
|
||||||
# Add ~/.local/bin to PATH
|
# Add ~/.local/bin to PATH
|
||||||
export PATH="$HOME/.local/bin:$PATH"
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
|
|
||||||
# zigup
|
# Note: zizgup binary should be moved to ~/.local/bin
|
||||||
export PATH="/opt/zigup/bin:$PATH"
|
|
||||||
|
|
||||||
# Zig language Server
|
# Rust
|
||||||
export PATH="/opt/zls/bin:$PATH"
|
export PATH="$HOME/.cargo/bin:$PATH"
|
||||||
|
|
||||||
# Rust
|
# Note: ZLS binary should be moved to ~/.local/bin
|
||||||
. "$HOME/.cargo/env"
|
|
||||||
|
|
||||||
# Yarn Global
|
# Yarn Global
|
||||||
export PATH="$HOME/.yarn/bin:$PATH"
|
export PATH="$HOME/.yarn/bin:$PATH"
|
||||||
|
|
||||||
|
# Zigmod
|
||||||
|
export PATH="$HOME/.zigmod/bin:$PATH"
|
||||||
|
|
||||||
|
# Flutter
|
||||||
|
export PATH="/opt/flutter/bin:$PATH"
|
||||||
|
|
||||||
|
# nvm
|
||||||
|
source /usr/share/nvm/init-nvm.sh
|
||||||
|
|
||||||
|
# Note: devkitPro handled by environment.d
|
||||||
|
10
.zshrc
10
.zshrc
@@ -114,3 +114,13 @@ source ~/.paodarc
|
|||||||
|
|
||||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
## [Completion]
|
||||||
|
## Completion scripts setup. Remove the following line to uninstall
|
||||||
|
[[ -f /home/paoda/.dart-cli-completion/zsh-config.zsh ]] && . /home/paoda/.dart-cli-completion/zsh-config.zsh || true
|
||||||
|
## [/Completion]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user