mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 16:53:00 +00:00
sync from mac
This commit is contained in:
parent
75c2379f0f
commit
80b8dfde17
7 changed files with 24 additions and 4 deletions
3
Justfile
3
Justfile
|
|
@ -1,4 +1,5 @@
|
||||||
set shell := ["pwsh", "-c"]
|
set shell := ["fish", "-c"]
|
||||||
|
set windows-shell := ["pwsh", "-c"]
|
||||||
|
|
||||||
pull:
|
pull:
|
||||||
git pull github master
|
git pull github master
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,10 @@
|
||||||
# Author: js0ny
|
# Author: js0ny
|
||||||
|
|
||||||
# Location:
|
# Location:
|
||||||
# macOS: ~/Library/Application Support/lazygit/config.yml
|
# *nix: ~/.config/lazygit/config.yml
|
||||||
# Linux: ~/.config/lazygit/config.yml
|
|
||||||
# Windows: %APPDATA%\lazygit\config.yml
|
# Windows: %APPDATA%\lazygit\config.yml
|
||||||
|
# Linking:
|
||||||
|
# ln -sf ~/.dotfiles/common/lazygit.yaml ~/.config/lazygit/config.yml
|
||||||
|
|
||||||
yaml-language-server: $schema=https://raw.githubusercontent.com/jesseduffield/lazygit/master/schema/config.json
|
yaml-language-server: $schema=https://raw.githubusercontent.com/jesseduffield/lazygit/master/schema/config.json
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,9 @@ else if test -d /home/linuxbrew/.linuxbrew/bin # Linux
|
||||||
set -gx PATH /home/linuxbrew/.linuxbrew/bin $PATH
|
set -gx PATH /home/linuxbrew/.linuxbrew/bin $PATH
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if command -v brew > /dev/null
|
||||||
|
set -gx HOMEBREW_NO_ENV_HINTS
|
||||||
|
end
|
||||||
|
|
||||||
# Azure CLI
|
# Azure CLI
|
||||||
if command -v az > /dev/null
|
if command -v az > /dev/null
|
||||||
|
|
|
||||||
|
|
@ -67,3 +67,7 @@ if command -v pacman > /dev/null
|
||||||
abbr --add pacr "sudo pacman -R"
|
abbr --add pacr "sudo pacman -R"
|
||||||
abbr --add pacu "sudo pacman -Syu"
|
abbr --add pacu "sudo pacman -Syu"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if test "$TERM" = "xterm-ghostty" -o "$TERM" = "xterm-kitty"
|
||||||
|
abbr --add icat "kitten icat"
|
||||||
|
end
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,15 @@ if status is-interactive
|
||||||
# macOS Specific
|
# macOS Specific
|
||||||
abbr --add clip pbcopy
|
abbr --add clip pbcopy
|
||||||
abbr --add paste pbpaste
|
abbr --add paste pbpaste
|
||||||
|
# Use GNU Coreutils
|
||||||
|
alias cp=gcp
|
||||||
|
alias ln=gln
|
||||||
|
alias mkdir=gmkdir
|
||||||
|
alias mv=gmv
|
||||||
|
alias rm=grm
|
||||||
|
alias rmdir=grmdir
|
||||||
|
alias touch=gtouch
|
||||||
|
|
||||||
case "Linux"
|
case "Linux"
|
||||||
# Linux Specific
|
# Linux Specific
|
||||||
case '*'
|
case '*'
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ return {
|
||||||
workspaces = {
|
workspaces = {
|
||||||
{
|
{
|
||||||
name = "personal",
|
name = "personal",
|
||||||
path = "~/winhome/Obsidian",
|
path = "~/Obsidian",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
completion = {
|
completion = {
|
||||||
|
|
|
||||||
|
|
@ -253,6 +253,8 @@ if os_type == "Windows" then
|
||||||
args = { "wsl.exe", "-d", "Arch", "zsh" }
|
args = { "wsl.exe", "-d", "Arch", "zsh" }
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
elseif os_type == "macOS" then
|
||||||
|
config.default_prog = { "/opt/homebrew/bin/fish", "-l"}
|
||||||
else
|
else
|
||||||
config.default_prog = { "fish" }
|
config.default_prog = { "fish" }
|
||||||
config.launch_menu = {
|
config.launch_menu = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue