Add some of my dotfiles for testing
commit
e88ddb863c
@ -0,0 +1 @@
|
|||||||
|
path = "{{dirs.config}}"
|
@ -0,0 +1,37 @@
|
|||||||
|
theme = "dracula-purple"
|
||||||
|
|
||||||
|
[editor]
|
||||||
|
rulers = [120]
|
||||||
|
shell = ["nu", "-c"]
|
||||||
|
true-color = true
|
||||||
|
cursorline = true
|
||||||
|
color-modes = true
|
||||||
|
bufferline = "always"
|
||||||
|
line-number = "relative"
|
||||||
|
|
||||||
|
[editor.cursor-shape]
|
||||||
|
insert = "bar"
|
||||||
|
normal = "block"
|
||||||
|
select = "underline"
|
||||||
|
|
||||||
|
[editor.statusline]
|
||||||
|
left = ["mode", "spinner", "spacer", "file-name"]
|
||||||
|
center = []
|
||||||
|
right = ["diagnostics", "selections", "position", "position-percentage", "separator", "file-encoding", "file-line-ending", "file-type", "separator", "spacer", "version-control", "spacer"]
|
||||||
|
separator = " │"
|
||||||
|
|
||||||
|
[editor.lsp]
|
||||||
|
auto-signature-help = true
|
||||||
|
display-inlay-hints = true
|
||||||
|
|
||||||
|
[editor.indent-guides]
|
||||||
|
render = true
|
||||||
|
rainbow = "dim"
|
||||||
|
|
||||||
|
[editor.whitespace.render]
|
||||||
|
tab = "all"
|
||||||
|
nbsp = "all"
|
||||||
|
|
||||||
|
[keys.normal]
|
||||||
|
C-j = "half_page_down"
|
||||||
|
C-k = "half_page_up"
|
@ -0,0 +1,19 @@
|
|||||||
|
[language-server.biome]
|
||||||
|
command = "biome"
|
||||||
|
args = ["lsp-proxy"]
|
||||||
|
|
||||||
|
[[language]]
|
||||||
|
name = "typescript"
|
||||||
|
language-servers = ["typescript-language-server", "biome"]
|
||||||
|
auto-format = true
|
||||||
|
formatter = { command = "biome" , args = ["format", "--stdin-file-path=file.ts"] }
|
||||||
|
|
||||||
|
[[language]]
|
||||||
|
name = "javascript"
|
||||||
|
language-servers = ["typescript-language-server", "biome"]
|
||||||
|
auto-format = true
|
||||||
|
formatter = { command = "biome" , args = ["format", "--stdin-file-path=file.js"] }
|
||||||
|
|
||||||
|
[[language]]
|
||||||
|
name = "json"
|
||||||
|
formatter = { command = "biome" , args = ["format", "--stdin-file-path=file.json"] }
|
@ -0,0 +1,84 @@
|
|||||||
|
# Author : Sam Sartor <me@samsartor.com>, Trivernis <trivernis@pm.me>
|
||||||
|
# A port of https://github.com/bceskavich/dracula-at-night
|
||||||
|
"comment" = { fg = "comment" }
|
||||||
|
"constant" = { fg = "purple" }
|
||||||
|
"constant.character.escape" = { fg = "pink" }
|
||||||
|
"function" = { fg = "green" }
|
||||||
|
"keyword" = { fg = "pink" }
|
||||||
|
"operator" = { fg = "pink" }
|
||||||
|
"special" = { fg = "yellow" }
|
||||||
|
"punctuation" = { fg = "foreground" }
|
||||||
|
"string" = { fg = "yellow" }
|
||||||
|
"string.regexp" = { fg = "red" }
|
||||||
|
"tag" = { fg = "pink" }
|
||||||
|
"attribute" = { fg = "cyan" }
|
||||||
|
"type" = { fg = "cyan", modifiers = ["italic"] }
|
||||||
|
"type.enum.variant" = { fg = "foreground", modifiers = ["italic"] }
|
||||||
|
"variable" = { fg = "foreground" }
|
||||||
|
"variable.builtin" = { fg = "cyan", modifiers = ["italic"] }
|
||||||
|
"variable.parameter" = { fg ="orange", modifiers = ["italic"] }
|
||||||
|
|
||||||
|
"diff.plus" = { fg = "green" }
|
||||||
|
"diff.delta" = { fg = "orange" }
|
||||||
|
"diff.minus" = { fg = "red" }
|
||||||
|
|
||||||
|
"ui.background" = { fg = "foreground", bg = "background" }
|
||||||
|
"ui.cursor" = { fg = "background", bg = "orange", modifiers = ["dim"] }
|
||||||
|
"ui.cursor.match" = { fg = "green", modifiers = ["underlined"] }
|
||||||
|
"ui.cursor.primary" = { fg = "background", bg = "cyan", modifier = ["dim"] }
|
||||||
|
"ui.cursorline" = {bg = "background_dark"}
|
||||||
|
"ui.help" = { fg = "foreground", bg = "background_dark" }
|
||||||
|
"ui.linenr" = { fg = "comment" }
|
||||||
|
"ui.linenr.selected" = { fg = "foreground" }
|
||||||
|
"ui.menu" = { fg = "foreground", bg = "background_dark" }
|
||||||
|
"ui.menu.selected" = { fg = "cyan", bg = "background_dark" }
|
||||||
|
"ui.popup" = { fg = "foreground", bg = "background_dark" }
|
||||||
|
"ui.selection" = { fg = "background", bg = "purple", modifiers = ["dim"] }
|
||||||
|
"ui.selection.primary" = { fg = "background", bg = "pink" }
|
||||||
|
"ui.text" = { fg = "foreground" }
|
||||||
|
"ui.text.focus" = { fg = "cyan" }
|
||||||
|
"ui.window" = { fg = "foreground" }
|
||||||
|
"ui.virtual.ruler" = { bg = "ruler" }
|
||||||
|
"ui.virtual.indent-guide" = { fg = "ruler" }
|
||||||
|
"ui.virtual" = { fg = "hint" }
|
||||||
|
|
||||||
|
"ui.statusline" = { fg = "foreground", bg = "background_dark" }
|
||||||
|
"ui.statusline.inactive" = { fg = "comment", bg = "background_dark" }
|
||||||
|
"ui.statusline.normal" = { fg = "background_dark", bg = "purple"}
|
||||||
|
"ui.statusline.insert" = { fg = "background_dark", bg = "pink"}
|
||||||
|
"ui.statusline.select" = { fg = "background_dark", bg = "cyan"}
|
||||||
|
|
||||||
|
"error" = { fg = "red" }
|
||||||
|
"warning" = { fg = "cyan" }
|
||||||
|
|
||||||
|
"markup.heading" = { fg = "purple", modifiers = ["bold"] }
|
||||||
|
"markup.list" = "cyan"
|
||||||
|
"markup.bold" = { fg = "orange", modifiers = ["bold"] }
|
||||||
|
"markup.italic" = { fg = "yellow", modifiers = ["italic"] }
|
||||||
|
"markup.link.url" = "cyan"
|
||||||
|
"markup.link.text" = "pink"
|
||||||
|
"markup.quote" = { fg = "yellow", modifiers = ["italic"] }
|
||||||
|
"markup.raw" = { fg = "foreground" }
|
||||||
|
|
||||||
|
"ui.explorer.file" = { fg = "foreground" }
|
||||||
|
"ui.explorer.dir" = { fg = "cyan" }
|
||||||
|
"ui.explorer.exe" = { fg = "foreground" }
|
||||||
|
"ui.explorer.focus" = { modifiers = ["reversed"] }
|
||||||
|
"ui.explorer.unfocus" = { bg = "comment" }
|
||||||
|
|
||||||
|
rainbow = ["#7c5ea3", "#9c5b95", "#9c5e80", "#6b4466"]
|
||||||
|
|
||||||
|
[palette]
|
||||||
|
background = "#3A2A4D"
|
||||||
|
background_dark = "#2B1C3D"
|
||||||
|
foreground = "#f8f8f2"
|
||||||
|
ruler = "#453254"
|
||||||
|
comment = "#886C9C"
|
||||||
|
hint = "#8a56b0"
|
||||||
|
red = "#ff5555"
|
||||||
|
orange = "#ffb86c"
|
||||||
|
yellow = "#f1fa8c"
|
||||||
|
green = "#50fa7b"
|
||||||
|
purple = "#bd93f9"
|
||||||
|
cyan = "#8be9fd"
|
||||||
|
pink = "#ff79c6"
|
@ -0,0 +1,5 @@
|
|||||||
|
alias ide = {{dirs.data}}/scripts/ide.nu
|
||||||
|
alias hx = helix
|
||||||
|
{{#if flags.unix}}
|
||||||
|
alias t = todo.sh
|
||||||
|
{{/if}}
|
@ -0,0 +1,64 @@
|
|||||||
|
def all_cargo_commands [] {
|
||||||
|
^cargo --list | split row "\n" | skip 1 | split column " " --collapse-empty | get column1 -i
|
||||||
|
}
|
||||||
|
|
||||||
|
def color_types [] {
|
||||||
|
[auto always never]
|
||||||
|
}
|
||||||
|
|
||||||
|
export extern "cargo" [
|
||||||
|
subcommand?: string@all_cargo_commands
|
||||||
|
-h --help
|
||||||
|
-V --version
|
||||||
|
--list
|
||||||
|
--explain: string
|
||||||
|
-v --verbose
|
||||||
|
--quiet
|
||||||
|
--color: string@color_types
|
||||||
|
--frozen
|
||||||
|
--locked
|
||||||
|
--offline
|
||||||
|
# --config: string
|
||||||
|
-Z: string
|
||||||
|
]
|
||||||
|
|
||||||
|
export extern "cargo build" [
|
||||||
|
--quiet
|
||||||
|
-p --package: string
|
||||||
|
--workspace
|
||||||
|
--exclude: string
|
||||||
|
-v --verbose
|
||||||
|
--all
|
||||||
|
--color: string@color_types
|
||||||
|
-j --jobs: number
|
||||||
|
--frozen
|
||||||
|
--keep-going
|
||||||
|
--lib
|
||||||
|
--locked
|
||||||
|
--bin: string
|
||||||
|
--offline
|
||||||
|
--bins
|
||||||
|
# --config: string
|
||||||
|
--example: string
|
||||||
|
--test: string
|
||||||
|
--tests
|
||||||
|
--bench: string
|
||||||
|
--benches
|
||||||
|
--all-targets
|
||||||
|
-r --release
|
||||||
|
--profile: string
|
||||||
|
-F --features
|
||||||
|
--all-features
|
||||||
|
--no-default-features
|
||||||
|
--target: string
|
||||||
|
--target-dir: string
|
||||||
|
--out-dir: string
|
||||||
|
--manifest-path: string
|
||||||
|
--ignore-rust-version
|
||||||
|
--message-format: string
|
||||||
|
--build-plan
|
||||||
|
--unit-graph
|
||||||
|
--future-incompat-report
|
||||||
|
--timings: string
|
||||||
|
-h --help
|
||||||
|
]
|
@ -0,0 +1,6 @@
|
|||||||
|
source ./cargo.nu
|
||||||
|
source ./git.nu
|
||||||
|
|
||||||
|
{{#if flags.unix}}
|
||||||
|
source ./podman.nu
|
||||||
|
{{/if}}
|
@ -0,0 +1,121 @@
|
|||||||
|
# Custom completions for external commands (those outside of Nushell)
|
||||||
|
# Each completions has two parts: the form of the external command, including its flags and parameters
|
||||||
|
# and a helper command that knows how to complete values for those flags and parameters
|
||||||
|
#
|
||||||
|
# This is a simplified version of completions for git branches and git remotes
|
||||||
|
def "nu-complete git branches" [] {
|
||||||
|
^git branch | lines | each { |line| $line | str replace '[\*\+] ' '' | str trim }
|
||||||
|
}
|
||||||
|
|
||||||
|
def "nu-complete git remotes" [] {
|
||||||
|
^git remote | lines | each { |line| $line | str trim }
|
||||||
|
}
|
||||||
|
|
||||||
|
# Download objects and refs from another repository
|
||||||
|
export extern "git fetch" [
|
||||||
|
repository?: string@"nu-complete git remotes" # name of the repository to fetch
|
||||||
|
branch?: string@"nu-complete git branches" # name of the branch to fetch
|
||||||
|
--all # Fetch all remotes
|
||||||
|
--append(-a) # Append ref names and object names to .git/FETCH_HEAD
|
||||||
|
--atomic # Use an atomic transaction to update local refs.
|
||||||
|
--depth: int # Limit fetching to n commits from the tip
|
||||||
|
--deepen: int # Limit fetching to n commits from the current shallow boundary
|
||||||
|
--shallow-since: string # Deepen or shorten the history by date
|
||||||
|
--shallow-exclude: string # Deepen or shorten the history by branch/tag
|
||||||
|
--unshallow # Fetch all available history
|
||||||
|
--update-shallow # Update .git/shallow to accept new refs
|
||||||
|
--negotiation-tip: string # Specify which commit/glob to report while fetching
|
||||||
|
--negotiate-only # Do not fetch, only print common ancestors
|
||||||
|
--dry-run # Show what would be done
|
||||||
|
--write-fetch-head # Write fetched refs in FETCH_HEAD (default)
|
||||||
|
--no-write-fetch-head # Do not write FETCH_HEAD
|
||||||
|
--force(-f) # Always update the local branch
|
||||||
|
--keep(-k) # Keep dowloaded pack
|
||||||
|
--multiple # Allow several arguments to be specified
|
||||||
|
--auto-maintenance # Run 'git maintenance run --auto' at the end (default)
|
||||||
|
--no-auto-maintenance # Don't run 'git maintenance' at the end
|
||||||
|
--auto-gc # Run 'git maintenance run --auto' at the end (default)
|
||||||
|
--no-auto-gc # Don't run 'git maintenance' at the end
|
||||||
|
--write-commit-graph # Write a commit-graph after fetching
|
||||||
|
--no-write-commit-graph # Don't write a commit-graph after fetching
|
||||||
|
--prefetch # Place all refs into the refs/prefetch/ namespace
|
||||||
|
--prune(-p) # Remove obsolete remote-tracking references
|
||||||
|
--prune-tags(-P) # Remove any local tags that do not exist on the remote
|
||||||
|
--no-tags(-n) # Disable automatic tag following
|
||||||
|
--refmap: string # Use this refspec to map the refs to remote-tracking branches
|
||||||
|
--tags(-t) # Fetch all tags
|
||||||
|
--recurse-submodules: string # Fetch new commits of populated submodules (yes/on-demand/no)
|
||||||
|
--jobs(-j): int # Number of parallel children
|
||||||
|
--no-recurse-submodules # Disable recursive fetching of submodules
|
||||||
|
--set-upstream # Add upstream (tracking) reference
|
||||||
|
--submodule-prefix: string # Prepend to paths printed in informative messages
|
||||||
|
--upload-pack: string # Non-default path for remote command
|
||||||
|
--quiet(-q) # Silence internally used git commands
|
||||||
|
--verbose(-v) # Be verbose
|
||||||
|
--progress # Report progress on stderr
|
||||||
|
--server-option(-o): string # Pass options for the server to handle
|
||||||
|
--show-forced-updates # Check if a branch is force-updated
|
||||||
|
--no-show-forced-updates # Don't check if a branch is force-updated
|
||||||
|
-4 # Use IPv4 addresses, ignore IPv6 addresses
|
||||||
|
-6 # Use IPv6 addresses, ignore IPv4 addresses
|
||||||
|
--help # Display this help message
|
||||||
|
]
|
||||||
|
|
||||||
|
# Check out git branches and files
|
||||||
|
export extern "git checkout" [
|
||||||
|
...targets: string@"nu-complete git branches" # name of the branch or files to checkout
|
||||||
|
--conflict: string # conflict style (merge or diff3)
|
||||||
|
--detach(-d) # detach HEAD at named commit
|
||||||
|
--force(-f) # force checkout (throw away local modifications)
|
||||||
|
--guess # second guess 'git checkout <no-such-branch>' (default)
|
||||||
|
--ignore-other-worktrees # do not check if another worktree is holding the given ref
|
||||||
|
--ignore-skip-worktree-bits # do not limit pathspecs to sparse entries only
|
||||||
|
--merge(-m) # perform a 3-way merge with the new branch
|
||||||
|
--orphan: string # new unparented branch
|
||||||
|
--ours(-2) # checkout our version for unmerged files
|
||||||
|
--overlay # use overlay mode (default)
|
||||||
|
--overwrite-ignore # update ignored files (default)
|
||||||
|
--patch(-p) # select hunks interactively
|
||||||
|
--pathspec-from-file: string # read pathspec from file
|
||||||
|
--progress # force progress reporting
|
||||||
|
--quiet(-q) # suppress progress reporting
|
||||||
|
--recurse-submodules: string # control recursive updating of submodules
|
||||||
|
--theirs(-3) # checkout their version for unmerged files
|
||||||
|
--track(-t) # set upstream info for new branch
|
||||||
|
-b: string # create and checkout a new branch
|
||||||
|
-B: string # create/reset and checkout a branch
|
||||||
|
-l # create reflog for new branch
|
||||||
|
--help # Display this help message
|
||||||
|
]
|
||||||
|
|
||||||
|
# Push changes
|
||||||
|
export extern "git push" [
|
||||||
|
remote?: string@"nu-complete git remotes", # the name of the remote
|
||||||
|
...refs: string@"nu-complete git branches" # the branch / refspec
|
||||||
|
--all # push all refs
|
||||||
|
--atomic # request atomic transaction on remote side
|
||||||
|
--delete(-d) # delete refs
|
||||||
|
--dry-run(-n) # dry run
|
||||||
|
--exec: string # receive pack program
|
||||||
|
--follow-tags # push missing but relevant tags
|
||||||
|
--force-with-lease: string # require old value of ref to be at this value
|
||||||
|
--force(-f) # force updates
|
||||||
|
--ipv4(-4) # use IPv4 addresses only
|
||||||
|
--ipv6(-6) # use IPv6 addresses only
|
||||||
|
--mirror # mirror all refs
|
||||||
|
--no-verify # bypass pre-push hook
|
||||||
|
--porcelain # machine-readable output
|
||||||
|
--progress # force progress reporting
|
||||||
|
--prune # prune locally removed refs
|
||||||
|
--push-option(-o): string # option to transmit
|
||||||
|
--quiet(-q) # be more quiet
|
||||||
|
--receive-pack: string # receive pack program
|
||||||
|
--recurse-submodules: string # control recursive pushing of submodules
|
||||||
|
--repo: string # repository
|
||||||
|
--set-upstream(-u) # set upstream for git pull/status
|
||||||
|
--signed: string # GPG sign the push
|
||||||
|
--tags # push tags (can't be used with --all or --mirror)
|
||||||
|
--thin # use thin pack
|
||||||
|
--verbose(-v) # be more verbose
|
||||||
|
--help # Display this help message
|
||||||
|
]
|
@ -0,0 +1,26 @@
|
|||||||
|
def all_container_names [] {
|
||||||
|
podman container ls --all --format json | from json | get Names | each {|| get 0 }
|
||||||
|
}
|
||||||
|
|
||||||
|
def running_container_names [] {
|
||||||
|
podman container ls --format json | from json | get Names | each {|| get 0 }
|
||||||
|
}
|
||||||
|
|
||||||
|
export extern "podman start" [
|
||||||
|
container: string@all_container_names
|
||||||
|
--help
|
||||||
|
-a --attach
|
||||||
|
--detach-keys
|
||||||
|
-f:string --filter:string
|
||||||
|
-i --interactive
|
||||||
|
-l --latest
|
||||||
|
]
|
||||||
|
|
||||||
|
export extern "podman stop" [
|
||||||
|
container: string@running_container_names
|
||||||
|
-a --all
|
||||||
|
--cidfile: list
|
||||||
|
-i --ignore
|
||||||
|
-l --latest
|
||||||
|
-t: number --time: number
|
||||||
|
]
|
@ -0,0 +1,436 @@
|
|||||||
|
# Nushell Config File
|
||||||
|
|
||||||
|
# for more information on themes see
|
||||||
|
# https://www.nushell.sh/book/coloring_and_theming.html
|
||||||
|
let dark_theme = {
|
||||||
|
# color for nushell primitives
|
||||||
|
separator: white
|
||||||
|
leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off
|
||||||
|
header: green_bold
|
||||||
|
empty: blue
|
||||||
|
bool: white
|
||||||
|
int: white
|
||||||
|
filesize: white
|
||||||
|
duration: white
|
||||||
|
date: white
|
||||||
|
range: white
|
||||||
|
float: white
|
||||||
|
string: white
|
||||||
|
nothing: white
|
||||||
|
binary: white
|
||||||
|
cellpath: white
|
||||||
|
row_index: green_bold
|
||||||
|
record: white
|
||||||
|
list: white
|
||||||
|
block: white
|
||||||
|
hints: dark_gray
|
||||||
|
|
||||||
|
# shapes are used to change the cli syntax highlighting
|
||||||
|
shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b}
|
||||||
|
shape_binary: purple_bold
|
||||||
|
shape_bool: light_cyan
|
||||||
|
shape_int: purple_bold
|
||||||
|
shape_float: purple_bold
|
||||||
|
shape_range: yellow_bold
|
||||||
|
shape_internalcall: cyan_bold
|
||||||
|
shape_external: cyan
|
||||||
|
shape_externalarg: green_bold
|
||||||
|
shape_literal: blue
|
||||||
|
shape_operator: light_magenta
|
||||||
|
shape_signature: green_bold
|
||||||
|
shape_string: green
|
||||||
|
shape_string_interpolation: cyan_bold
|
||||||
|
shape_datetime: cyan_bold
|
||||||
|
shape_list: cyan_bold
|
||||||
|
shape_table: blue_bold
|
||||||
|
shape_record: cyan_bold
|
||||||
|
shape_block: blue_bold
|
||||||
|
shape_filepath: cyan
|
||||||
|
shape_globpattern: cyan_bold
|
||||||
|
shape_variable: purple
|
||||||
|
shape_flag: blue_bold
|
||||||
|
shape_custom: green
|
||||||
|
shape_nothing: light_magenta
|
||||||
|
}
|
||||||
|
|
||||||
|
let light_theme = {
|
||||||
|
# color for nushell primitives
|
||||||
|
separator: dark_gray
|
||||||
|
leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off
|
||||||
|
header: green_bold
|
||||||
|
empty: blue
|
||||||
|
bool: dark_gray
|
||||||
|
int: dark_gray
|
||||||
|
filesize: dark_gray
|
||||||
|
duration: dark_gray
|
||||||
|
date: dark_gray
|
||||||
|
range: dark_gray
|
||||||
|
float: dark_gray
|
||||||
|
string: dark_gray
|
||||||
|
nothing: dark_gray
|
||||||
|
binary: dark_gray
|
||||||
|
cellpath: dark_gray
|
||||||
|
row_index: green_bold
|
||||||
|
record: white
|
||||||
|
list: white
|
||||||
|
block: white
|
||||||
|
hints: dark_gray
|
||||||
|
|
||||||
|
# shapes are used to change the cli syntax highlighting
|
||||||
|
shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b}
|
||||||
|
shape_binary: purple_bold
|
||||||
|
shape_bool: light_cyan
|
||||||
|
shape_int: purple_bold
|
||||||
|
shape_float: purple_bold
|
||||||
|
shape_range: yellow_bold
|
||||||
|
shape_internalcall: cyan_bold
|
||||||
|
shape_external: cyan
|
||||||
|
shape_externalarg: green_bold
|
||||||
|
shape_literal: blue
|
||||||
|
shape_operator: yellow
|
||||||
|
shape_signature: green_bold
|
||||||
|
shape_string: green
|
||||||
|
shape_string_interpolation: cyan_bold
|
||||||
|
shape_datetime: cyan_bold
|
||||||
|
shape_list: cyan_bold
|
||||||
|
shape_table: blue_bold
|
||||||
|
shape_record: cyan_bold
|
||||||
|
shape_block: blue_bold
|
||||||
|
shape_filepath: cyan
|
||||||
|
shape_globpattern: cyan_bold
|
||||||
|
shape_variable: purple
|
||||||
|
shape_flag: blue_bold
|
||||||
|
shape_custom: green
|
||||||
|
shape_nothing: light_cyan
|
||||||
|
}
|
||||||
|
|
||||||
|
# External completer example
|
||||||
|
# let carapace_completer = {|spans|
|
||||||
|
# carapace $spans.0 nushell $spans | from json
|
||||||
|
# }
|
||||||
|
|
||||||
|
|
||||||
|
# The default config record. This is where much of your global configuration is setup.
|
||||||
|
$env.config = {
|
||||||
|
cursor_shape: {
|
||||||
|
vi_insert: underscore
|
||||||
|
vi_normal: block
|
||||||
|
emacs: block
|
||||||
|
}
|
||||||
|
use_grid_icons: true
|
||||||
|
color_config: $dark_theme # if you want a light theme, replace `$dark_theme` to `$light_theme`
|
||||||
|
footer_mode: "25" # always, never, number_of_rows, auto
|
||||||
|
float_precision: 2
|
||||||
|
# buffer_editor: "emacs" # command that will be used to edit the current line buffer with ctrl+o, if unset fallback to $env.EDITOR and $env.VISUAL
|
||||||
|
use_ansi_coloring: true
|
||||||
|
edit_mode: emacs # emacs, vi
|
||||||
|
shell_integration: true # enables terminal markers and a workaround to arrow keys stop working issue
|
||||||
|
# disable_table_indexes: false # set to true to remove the index column from tables
|
||||||
|
# settings for the ls command
|
||||||
|
ls: {
|
||||||
|
use_ls_colors: true
|
||||||
|
clickable_links: true # true or false to enable or disable clickable links in the ls listing. your terminal has to support links.
|
||||||
|
}
|
||||||
|
# settings for the rm command
|
||||||
|
rm: {
|
||||||
|
always_trash: false
|
||||||
|
}
|
||||||
|
# history settings
|
||||||
|
history: {
|
||||||
|
max_size: 10000 # Session has to be reloaded for this to take effect
|
||||||
|
sync_on_enter: true # Enable to share the history between multiple sessions, else you have to close the session to persist history to file
|
||||||
|
file_format: "plaintext" # "sqlite" or "plaintext"
|
||||||
|
}
|
||||||
|
# filesize settings
|
||||||
|
filesize: {
|
||||||
|
metric: false
|
||||||
|
format: "auto" # b, kb, kib, mb, mib, gb, gib, tb, tib, pb, pib, eb, eib, zb, zib, auto
|
||||||
|
}
|
||||||
|
# completion settings
|
||||||
|
completions: {
|
||||||
|
case_sensitive: false # set to true to enable case-sensitive completions
|
||||||
|
quick: true # set this to false to prevent auto-selecting completions when only one remains
|
||||||
|
partial: true # set this to false to prevent partial filling of the prompt
|
||||||
|
algorithm: "prefix" # prefix, fuzzy
|
||||||
|
external: {
|
||||||
|
enable: true # set to false to prevent nushell looking into $env.PATH to find more suggestions, `false` recommended for WSL users as this look up my be very slow
|
||||||
|
max_results: 100 # setting it lower can improve completion performance at the cost of omitting some options
|
||||||
|
completer: null # check 'carapace_completer' above to as example
|
||||||
|
}
|
||||||
|
}
|
||||||
|
# table settings
|
||||||
|
table: {
|
||||||
|
mode: rounded # basic, compact, compact_double, light, thin, with_love, rounded, reinforced, heavy, none, other
|
||||||
|
index_mode: auto
|
||||||
|
# A strategy of managing table view in case of limited space.
|
||||||
|
trim: {
|
||||||
|
methodology: wrapping, # truncating
|
||||||
|
# A strategy which will be used by 'wrapping' methodology
|
||||||
|
wrapping_try_keep_words: true,
|
||||||
|
# A suffix which will be used with 'truncating' methodology
|
||||||
|
# truncating_suffix: "..."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
show_banner: false # true or false to enable or disable the banner
|
||||||
|
|
||||||
|
hooks: {
|
||||||
|
pre_prompt: [{||
|
||||||
|
null # replace with source code to run before the prompt is shown
|
||||||
|
}]
|
||||||
|
pre_execution: [{||
|
||||||
|
null # replace with source code to run before the repl input is run
|
||||||
|
}]
|
||||||
|
env_change: {
|
||||||
|
PWD: [{|before, after|
|
||||||
|
null # replace with source code to run if the PWD environment is different since the last repl input
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
menus: [
|
||||||
|
# Configuration for default nushell menus
|
||||||
|
# Note the lack of souce parameter
|
||||||
|
{
|
||||||
|
name: completion_menu
|
||||||
|
only_buffer_difference: false
|
||||||
|
marker: "| "
|
||||||
|
type: {
|
||||||
|
layout: columnar
|
||||||
|
columns: 4
|
||||||
|
col_width: 20 # Optional value. If missing all the screen width is used to calculate column width
|
||||||
|
col_padding: 2
|
||||||
|
}
|
||||||
|
style: {
|
||||||
|
text: green
|
||||||
|
selected_text: green_reverse
|
||||||
|
description_text: yellow
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name: history_menu
|
||||||
|
only_buffer_difference: true
|
||||||
|
marker: "? "
|
||||||
|
type: {
|
||||||
|
layout: list
|
||||||
|
page_size: 10
|
||||||
|
}
|
||||||
|
style: {
|
||||||
|
text: green
|
||||||
|
selected_text: green_reverse
|
||||||
|
description_text: yellow
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name: help_menu
|
||||||
|
only_buffer_difference: true
|
||||||
|
marker: "? "
|
||||||
|
type: {
|
||||||
|
layout: description
|
||||||
|
columns: 4
|
||||||
|
col_width: 20 # Optional value. If missing all the screen width is used to calculate column width
|
||||||
|
col_padding: 2
|
||||||
|
selection_rows: 4
|
||||||
|
description_rows: 10
|
||||||
|
}
|
||||||
|
style: {
|
||||||
|
text: green
|
||||||
|
selected_text: green_reverse
|
||||||
|
description_text: yellow
|
||||||
|
}
|
||||||
|
}
|
||||||
|
# Example of extra menus created using a nushell source
|
||||||
|
# Use the source field to create a list of records that populates
|
||||||
|
# the menu
|
||||||
|
{
|
||||||
|
name: commands_menu
|
||||||
|
only_buffer_difference: false
|
||||||
|
marker: "# "
|
||||||
|
type: {
|
||||||
|
layout: columnar
|
||||||
|
columns: 4
|
||||||
|
col_width: 20
|
||||||
|
col_padding: 2
|
||||||
|
}
|
||||||
|
style: {
|
||||||
|
text: green
|
||||||
|
selected_text: green_reverse
|
||||||
|
description_text: yellow
|
||||||
|
}
|
||||||
|
source: { |buffer, position|
|
||||||
|
$nu.scope.commands
|
||||||
|
| where command =~ $buffer
|
||||||
|
| each { |it| {value: $it.command description: $it.usage} }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name: vars_menu
|
||||||
|
only_buffer_difference: true
|
||||||
|
marker: "# "
|
||||||
|
type: {
|
||||||
|
layout: list
|
||||||
|
page_size: 10
|
||||||
|
}
|
||||||
|
style: {
|
||||||
|
text: green
|
||||||
|
selected_text: green_reverse
|
||||||
|
description_text: yellow
|
||||||
|
}
|
||||||
|
source: { |buffer, position|
|
||||||
|
$nu.scope.vars
|
||||||
|
| where name =~ $buffer
|
||||||
|
| sort-by name
|
||||||
|
| each { |it| {value: $it.name description: $it.type} }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name: commands_with_description
|
||||||
|
only_buffer_difference: true
|
||||||
|
marker: "# "
|
||||||
|
type: {
|
||||||
|
layout: description
|
||||||
|
columns: 4
|
||||||
|
col_width: 20
|
||||||
|
col_padding: 2
|
||||||
|
selection_rows: 4
|
||||||
|
description_rows: 10
|
||||||
|
}
|
||||||
|
style: {
|
||||||
|
text: green
|
||||||
|
selected_text: green_reverse
|
||||||
|
description_text: yellow
|
||||||
|
}
|
||||||
|
source: { |buffer, position|
|
||||||
|
$nu.scope.commands
|
||||||
|
| where command =~ $buffer
|
||||||
|
| each { |it| {value: $it.command description: $it.usage} }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
keybindings: [
|
||||||
|
{
|
||||||
|
name: completion_menu
|
||||||
|
modifier: none
|
||||||
|
keycode: tab
|
||||||
|
mode: emacs # Options: emacs vi_normal vi_insert
|
||||||
|
event: {
|
||||||
|
until: [
|
||||||
|
{ send: menu name: completion_menu }
|
||||||
|
{ send: menunext }
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name: completion_previous
|
||||||
|
modifier: shift
|
||||||
|
keycode: backtab
|
||||||
|
mode: [emacs, vi_normal, vi_insert] # Note: You can add the same keybinding to all modes by using a list
|
||||||
|
event: { send: menuprevious }
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name: history_menu
|
||||||
|
modifier: control
|
||||||
|
keycode: char_r
|
||||||
|
mode: emacs
|
||||||
|
event: { send: menu name: history_menu }
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name: next_page
|
||||||
|
modifier: control
|
||||||
|
keycode: char_x
|
||||||
|
mode: emacs
|
||||||
|
event: { send: menupagenext }
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name: undo_or_previous_page
|
||||||
|
modifier: control
|
||||||
|
keycode: char_z
|
||||||
|
mode: emacs
|
||||||
|
event: {
|
||||||
|
until: [
|
||||||
|
{ send: menupageprevious }
|
||||||
|
{ edit: undo }
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name: yank
|
||||||
|
modifier: control
|
||||||
|
keycode: char_y
|
||||||
|
mode: emacs
|
||||||
|
event: {
|
||||||
|
until: [
|
||||||
|
{edit: pastecutbufferafter}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name: unix-line-discard
|
||||||
|
modifier: control
|
||||||
|
keycode: char_u
|
||||||
|
mode: [emacs, vi_normal, vi_insert]
|
||||||
|
event: {
|
||||||
|
until: [
|
||||||
|
{edit: cutfromlinestart}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name: kill-line
|
||||||
|
modifier: control
|
||||||
|
keycode: char_k
|
||||||
|
mode: [emacs, vi_normal, vi_insert]
|
||||||
|
event: {
|
||||||
|
until: [
|
||||||
|
{edit: cuttolineend}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
# Keybindings used to trigger the user defined menus
|
||||||
|
{
|
||||||
|
name: commands_menu
|
||||||
|
modifier: control
|
||||||
|
keycode: char_t
|
||||||
|
mode: [emacs, vi_normal, vi_insert]
|
||||||
|
event: { send: menu name: commands_menu }
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name: vars_menu
|
||||||
|
modifier: alt
|
||||||
|
keycode: char_o
|
||||||
|
mode: [emacs, vi_normal, vi_insert]
|
||||||
|
event: { send: menu name: vars_menu }
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name: commands_with_description
|
||||||
|
modifier: control
|
||||||
|
keycode: char_s
|
||||||
|
mode: [emacs, vi_normal, vi_insert]
|
||||||
|
event: { send: menu name: commands_with_description }
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
# Completions
|
||||||
|
source {{dirs.config}}/nushell/completions/completions.nu
|
||||||
|
|
||||||
|
# Environment
|
||||||
|
source {{dirs.config}}/nushell/path.nu
|
||||||
|
|
||||||
|
# Starship
|
||||||
|
source {{dirs.config}}/nushell/starship.nu
|
||||||
|
|
||||||
|
# aliases
|
||||||
|
source {{dirs.config}}/nushell/aliases.nu
|
||||||
|
|
||||||
|
# motd
|
||||||
|
source {{dirs.config}}/nushell/motd.nu
|
||||||
|
|
||||||
|
# fnm
|
||||||
|
source {{dirs.config}}/nushell/fnm.nu
|
||||||
|
|
||||||
|
# broot
|
||||||
|
source {{dirs.config}}/broot/launcher/nushell/br
|
||||||
|
|
||||||
|
# ytdl
|
||||||
|
source {{dirs.data}}/scripts/ytdl.nu
|
||||||
|
|
||||||
|
source {{dirs.config}}/broot/launcher/nushell/br
|
@ -0,0 +1,67 @@
|
|||||||
|
# Nushell Environment Config File
|
||||||
|
|
||||||
|
def create_left_prompt [] {
|
||||||
|
let path_segment = if (is-admin) {
|
||||||
|
$"(ansi red_bold)($env.PWD)"
|
||||||
|
} else {
|
||||||
|
$"(ansi green_bold)($env.PWD)"
|
||||||
|
}
|
||||||
|
|
||||||
|
$path_segment
|
||||||
|
}
|
||||||
|
|
||||||
|
def create_right_prompt [] {
|
||||||
|
let time_segment = ([
|
||||||
|
(date now | format date '%m/%d/%Y %r')
|
||||||
|
] | str join)
|
||||||
|
|
||||||
|
$time_segment
|
||||||
|
}
|
||||||
|
|
||||||
|
# Use nushell functions to define your right and left prompt
|
||||||
|
$env.PROMPT_COMMAND = {|| create_left_prompt }
|
||||||
|
$env.PROMPT_COMMAND_RIGHT = {|| create_right_prompt }
|
||||||
|
|
||||||
|
# The prompt indicators are environmental variables that represent
|
||||||
|
# the state of the prompt
|
||||||
|
$env.PROMPT_INDICATOR = {|| "〉" }
|
||||||
|
$env.PROMPT_INDICATOR_VI_INSERT = {|| ": " }
|
||||||
|
$env.PROMPT_INDICATOR_VI_NORMAL = {|| "〉" }
|
||||||
|
$env.PROMPT_MULTILINE_INDICATOR = {|| "::: " }
|
||||||
|
|
||||||
|
# Specifies how environment variables are:
|
||||||
|
# - converted from a string to a value on Nushell startup (from_string)
|
||||||
|
# - converted from a value back to a string when running external commands (to_string)
|
||||||
|
# Note: The conversions happen *after* config.nu is loaded
|
||||||
|
$env.ENV_CONVERSIONS = {
|
||||||
|
"PATH": {
|
||||||
|
from_string: { |s| $s | split row (char esep) | path expand -n }
|
||||||
|
to_string: { |v| $v | path expand -n | str join (char esep) }
|
||||||
|
}
|
||||||
|
"Path": {
|
||||||
|
from_string: { |s| $s | split row (char esep) | path expand -n }
|
||||||
|
to_string: { |v| $v | path expand -n | str join (char esep) }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
# Directories to search for scripts when calling source or use
|
||||||
|
#
|
||||||
|
# By default, <nushell-config-dir>/scripts is added
|
||||||
|
$env.NU_LIB_DIRS = [
|
||||||
|
($nu.config-path | path dirname | path join 'scripts')
|
||||||
|
]
|
||||||
|
|
||||||
|
# Directories to search for plugin binaries when calling register
|
||||||
|
#
|
||||||
|
# By default, <nushell-config-dir>/plugins is added
|
||||||
|
$env.NU_PLUGIN_DIRS = [
|
||||||
|
($nu.config-path | path dirname | path join 'plugins')
|
||||||
|
]
|
||||||
|
|
||||||
|
$env.EDITOR = "hx"
|
||||||
|
{{#if flags.unix}}
|
||||||
|
$env.SSH_AUTH_SOCK = $"($env.XDG_RUNTIME_DIR)/ssh-agent.socket"
|
||||||
|
# :$PATH# To add entries to PATH (on Windows you might use Path), you can use the following pattern:
|
||||||
|
# let-env PATH = ($env.PATH | split row (char esep) | prepend '/some/path')
|
||||||
|
$env.GIT_PAGER = "most"
|
||||||
|
{{/if}}
|
@ -0,0 +1,10 @@
|
|||||||
|
load-env (fnm env --shell bash
|
||||||
|
| lines
|
||||||
|
| str replace 'export ' ''
|
||||||
|
| str replace -a '"' ''
|
||||||
|
| split column =
|
||||||
|
| rename name value
|
||||||
|
| where name != "FNM_ARCH" and name != "PATH"
|
||||||
|
| reduce -f {} {|it, acc| $acc | upsert $it.name $it.value }
|
||||||
|
)
|
||||||
|
$env.PATH = ($env.PATH | prepend $"($env.FNM_MULTISHELL_PATH)/bin")
|
@ -0,0 +1,4 @@
|
|||||||
|
let fact = (try { http get https://uselessfacts.jsph.pl/api/v2/facts/random | get text } catch { "I wasn't able to provide a fact." });
|
||||||
|
echo $"Hello (ansi purple_bold)($env.USER)(ansi reset),
|
||||||
|
it's the (ansi purple_bold)(date now | format date '%d.%m.%Y')(ansi reset) at (ansi purple_bold)(date now | format date '%H:%M:%S')(ansi reset)
|
||||||
|
Did you know: (ansi purple_bold)($fact)(ansi reset)"
|
@ -0,0 +1,6 @@
|
|||||||
|
$env.PATH = ( $env.PATH
|
||||||
|
| prepend $'{{dirs.home}}/.local/bin'
|
||||||
|
| prepend $'{{dirs.home}}/.cargo/bin'
|
||||||
|
| prepend $'{{dirs.home}}/.local/share/nenv/bin'
|
||||||
|
| prepend $'{{dirs.home}}/.fnm'
|
||||||
|
)
|
@ -0,0 +1,18 @@
|
|||||||
|
$env.STARSHIP_SHELL = "nu"
|
||||||
|
$env.STARSHIP_SESSION_KEY = (random chars -l 16)
|
||||||
|
$env.PROMPT_MULTILINE_INDICATOR = (^/usr/bin/starship prompt --continuation)
|
||||||
|
|
||||||
|
# Does not play well with default character module.
|
||||||
|
# TODO: Also Use starship vi mode indicators?
|
||||||
|
$env.PROMPT_INDICATOR = ""
|
||||||
|
|
||||||
|
$env.PROMPT_COMMAND = {||
|
||||||
|
# jobs are not supported
|
||||||
|
let width = (term size | get columns | into string)
|
||||||
|
^/usr/bin/starship prompt $"--cmd-duration=($env.CMD_DURATION_MS)" $"--status=($env.LAST_EXIT_CODE)" $"--terminal-width=($width)"
|
||||||
|
}
|
||||||
|
|
||||||
|
# Not well-suited for `starship prompt --right`.
|
||||||
|
# Built-in right prompt is equivalent to $fill$right_format in the first prompt line.
|
||||||
|
# Thus does not play well with default `add_newline = True`.
|
||||||
|
$env.PROMPT_COMMAND_RIGHT = {||''}
|
@ -0,0 +1,53 @@
|
|||||||
|
[user]
|
||||||
|
email = trivernis@protonmail.com
|
||||||
|
name = trivernis
|
||||||
|
signingkey = Trivernis@protonmail.com
|
||||||
|
[credential "https://git.trivernis.net"]
|
||||||
|
username = Trivernis
|
||||||
|
[credential "https://github.com"]
|
||||||
|
username = Trivernis
|
||||||
|
[credential]
|
||||||
|
helper = store
|
||||||
|
[commit]
|
||||||
|
gpgSign = true
|
||||||
|
[tag]
|
||||||
|
forceSignAnnotated = true
|
||||||
|
[filter "lfs"]
|
||||||
|
process = git-lfs filter-process
|
||||||
|
required = true
|
||||||
|
clean = git-lfs clean -- %f
|
||||||
|
smudge = git-lfs smudge -- %f
|
||||||
|
[alias]
|
||||||
|
c = commit -s
|
||||||
|
commit = commit -s
|
||||||
|
[core]
|
||||||
|
editor = helix
|
||||||
|
pager = delta
|
||||||
|
|
||||||
|
[interactive]
|
||||||
|
diffFilter = delta --color-only
|
||||||
|
[add.interactive]
|
||||||
|
useBuiltin = false # required for git 2.37.0
|
||||||
|
|
||||||
|
[delta]
|
||||||
|
navigate = true # use n and N to move between diff sections
|
||||||
|
light = false # set to true if you're in a terminal w/ a light background color (e.g. the default macOS terminal)
|
||||||
|
|
||||||
|
[merge]
|
||||||
|
conflictstyle = diff3
|
||||||
|
tool = vimdiff
|
||||||
|
|
||||||
|
[diff]
|
||||||
|
colorMoved = default
|
||||||
|
rebase = false
|
||||||
|
|
||||||
|
[init]
|
||||||
|
defaultBranch = main
|
||||||
|
[mergetool]
|
||||||
|
prompt = false
|
||||||
|
[pull]
|
||||||
|
rebase = false
|
||||||
|
[gpg]
|
||||||
|
program = /home/trivernis/.local/share/scripts/gpg-pinentry-loopback.bash
|
||||||
|
[push]
|
||||||
|
autoSetupRemote = true
|
@ -0,0 +1,73 @@
|
|||||||
|
# The following lines were added by compinstall
|
||||||
|
|
||||||
|
export PATH=/home/trivernis/.local/bin:/home/trivernis/.nvm/versions/node/v16.13.2/bin:/home/trivernis/.local/share/gem/ruby/2.7.0/bin:/home/trivernis/.cargo/bin:/home/trivernis/.deno/bin:$PATH
|
||||||
|
export LC_ALL="en_GB.UTF-8"
|
||||||
|
export GISTIT_TOKEN="9be3630eaced4ec7d17232c71a8b932a6863123d"
|
||||||
|
export SSH_ASKPASS=/usr/bin/ksshaskpass
|
||||||
|
|
||||||
|
zstyle ':completion:*' completer _complete _ignored _approximate
|
||||||
|
zstyle ':completion:*' insert-unambiguous true
|
||||||
|
zstyle ':completion:*' matcher-list '' 'm:{[:lower:]}={[:upper:]}'
|
||||||
|
zstyle :compinstall filename '/home/trivernis/.zshrc'
|
||||||
|
|
||||||
|
autoload -Uz compinit
|
||||||
|
compinit
|
||||||
|
# End of lines added by compinstall
|
||||||
|
# Lines configured by zsh-newuser-install
|
||||||
|
setopt autocd
|
||||||
|
bindkey -v
|
||||||
|
# End of lines configured by zsh-newuser-install
|
||||||
|
|
||||||
|
# aliases
|
||||||
|
source ~/.local/share/zsh/aliases.zsh
|
||||||
|
|
||||||
|
# antigen
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
source ~/.local/share/zsh/antigen.zsh
|
||||||
|
antigen use oh-my-zsh
|
||||||
|
|
||||||
|
#antigen bundle git
|
||||||
|
antigen bundle heroku
|
||||||
|
antigen bundle pip
|
||||||
|
antigen bundle lein
|
||||||
|
antigen bundle command-not-found
|
||||||
|
|
||||||
|
antigen bundle zsh-users/zsh-syntax-highlighting
|
||||||
|
antigen bundle zsh-users/zsh-autosuggestions
|
||||||
|
antigen bundle lukechilds/zsh-nvm
|
||||||
|
|
||||||
|
|
||||||
|
antigen apply
|
||||||
|
|
||||||
|
# antigen end
|
||||||
|
|
||||||
|
# aliases
|
||||||
|
alias ls=exa
|
||||||
|
alias vim=hx
|
||||||
|
alias zellidev="zellij --layout ~/.config/zellij/development.toml"
|
||||||
|
|
||||||
|
# rvm
|
||||||
|
[[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm
|
||||||
|
# rvm end
|
||||||
|
|
||||||
|
# config
|
||||||
|
|
||||||
|
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#666666"
|
||||||
|
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
|
||||||
|
ZSH_AUTOSUGGEST_USE_ASYNC="true, lol"
|
||||||
|
|
||||||
|
# config end
|
||||||
|
|
||||||
|
eval "$(starship init zsh)"
|
||||||
|
#eval "$(jump shell)"
|
||||||
|
eval $(thefuck --alias)
|
||||||
|
eval "$(zoxide init zsh --cmd cd)"
|
||||||
|
|
||||||
|
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
|
||||||
|
export PATH="$PATH:$HOME/.rvm/bin"
|
||||||
|
|
||||||
|
|
||||||
|
# Load Angular CLI autocompletion.
|
||||||
|
#source <(ng completion script)
|
@ -0,0 +1 @@
|
|||||||
|
path = "{{dirs.home}}"
|
@ -0,0 +1 @@
|
|||||||
|
path = "{{dirs.data}}"
|
Loading…
Reference in New Issue