Add MacOS specific config
This commit is contained in:
parent
df9ac0ae46
commit
87c96d2e64
@ -113,7 +113,7 @@ font:
|
||||
# - (Windows) Consolas
|
||||
#family: monospace
|
||||
# Next time: Check for Cascadia (Code|Mono) PL
|
||||
family: "Cascadia Code"
|
||||
family: "Cascadia Code PL"
|
||||
|
||||
# if fallback is implemented
|
||||
#family: Roboto Mono for Powerline 11
|
||||
@ -125,6 +125,7 @@ font:
|
||||
|
||||
# The `style` can be specified to pick a specific face.
|
||||
#style: Regular
|
||||
style: Regular
|
||||
|
||||
# Bold font face
|
||||
#bold:
|
||||
@ -165,7 +166,7 @@ font:
|
||||
#style: Bold Italic
|
||||
|
||||
# Point size
|
||||
size: 11.0
|
||||
size: 12.0
|
||||
|
||||
# Offset is the extra space around each character. `offset.y` can be thought
|
||||
# of as modifying the line spacing, and `offset.x` as modifying the letter
|
||||
@ -250,7 +251,7 @@ schemes:
|
||||
cyan: '#8ec07c'
|
||||
white: '#ebdbb2'
|
||||
|
||||
colors: *light
|
||||
colors: *dark
|
||||
#colors:
|
||||
# Default colors
|
||||
#primary:
|
||||
|
@ -5,7 +5,6 @@
|
||||
abbr v 'vi'
|
||||
alias vi 'nvim'
|
||||
alias vim 'nvim'
|
||||
abbr open 'xdg-open'
|
||||
|
||||
abbr l "ls -lFh"
|
||||
alias ls 'ls --color=auto'
|
||||
@ -15,6 +14,7 @@ abbr lS 'ls -1FSsh'
|
||||
abbr ll "ls -l"
|
||||
abbr l1 "ls -1"
|
||||
abbr sl 'ls'
|
||||
alias ip 'ip -c'
|
||||
alias tree 'tree -C'
|
||||
|
||||
# Configuration files
|
||||
@ -42,24 +42,40 @@ abbr glo "git log --oneline"
|
||||
abbr grhh "git reset --hard HEAD"
|
||||
abbr gcp "git cherry-pick $1"
|
||||
|
||||
# Pacman
|
||||
alias pacman 'pacman --color=auto'
|
||||
abbr pm 'pacman'
|
||||
abbr pms 'pacman -Ss'
|
||||
abbr pmsi 'pacman -Sii'
|
||||
abbr pmq 'pacman -Qs'
|
||||
abbr pmqi 'pacman -Qii'
|
||||
abbr pmqo 'pacman -Qo'
|
||||
abbr pmqm 'pacman -Qem' #list foreign (explicit) packages
|
||||
abbr pmi 'sudo pacman -S'
|
||||
abbr pmr 'sudo pacman -Rns'
|
||||
abbr pmu 'sudo pacman -Syu'
|
||||
abbr pmro 'sudo pacman -Rns (pacman -Qtdq) #remove orphans'
|
||||
abbr pmcc 'pacman -Qii | awk '\''/^MODIFIED/ {print $2}'\''' #list changed config files
|
||||
abbr aur 'auracle'
|
||||
|
||||
# Archives
|
||||
abbr tgz 'tar -xvzf' # extract .tar.gz
|
||||
abbr tbz 'tar -xvjf' # extract .tar.bz2
|
||||
|
||||
# Linux specific aliases
|
||||
if [ (uname) = "Linux" ]
|
||||
# Pacman
|
||||
alias pacman 'pacman --color=auto'
|
||||
abbr pm 'pacman'
|
||||
abbr pms 'pacman -Ss'
|
||||
abbr pmsi 'pacman -Sii'
|
||||
abbr pmq 'pacman -Qs'
|
||||
abbr pmqi 'pacman -Qii'
|
||||
abbr pmqo 'pacman -Qo'
|
||||
abbr pmqm 'pacman -Qem' #list foreign (explicit) packages
|
||||
abbr pmi 'sudo pacman -S'
|
||||
abbr pmr 'sudo pacman -Rns'
|
||||
abbr pmu 'sudo pacman -Syu'
|
||||
abbr pmro 'sudo pacman -Rns (pacman -Qtdq) #remove orphans'
|
||||
abbr pmcc 'pacman -Qii | awk '\''/^MODIFIED/ {print $2}'\''' #list changed config files
|
||||
abbr aur 'auracle'
|
||||
|
||||
abbr open 'xdg-open'
|
||||
end
|
||||
|
||||
# MacOS specific aliases
|
||||
if [ (uname) = "Darwin" ]
|
||||
alias tailscale "/Applications/Tailscale.app/Contents/MacOS/Tailscale"
|
||||
end
|
||||
|
||||
# Machine specific aliases
|
||||
if test -e "$XDG_CONFIG_HOME/$(hostname).aliases"
|
||||
source "$XDG_CONFIG_HOME/$(hostname).aliases"
|
||||
end
|
||||
|
||||
|
||||
# EOF
|
||||
|
@ -10,6 +10,7 @@ set -x LANG de_DE.UTF-8
|
||||
set -x XKB_DEFAULT_LAYOUT eu,de
|
||||
#set -x SUDO_ASKPASS "$HOME/.bin/sway/dmenupass"
|
||||
set -x PASSWORD_STORE_DIR "$HOME/.passwords"
|
||||
set -x HOMEBREW_CASK_OPTS "--no-quarantine --require-sha"
|
||||
|
||||
# Path: ~/.bin for user scripts
|
||||
[ -L ~/.bin ] && set -gx PATH ~/.bin ~/.local/bin $PATH
|
||||
@ -45,12 +46,16 @@ set -x XDG_DATA_DIRS "/usr/local/share:/usr/share"
|
||||
set -x XDG_CONFIG_DIRS "/etc/xdg"
|
||||
|
||||
# GPG and SSH agent
|
||||
set -e SSH_AUTH_SOCK
|
||||
set -U -x SSH_AUTH_SOCK (gpgconf --list-dirs agent-ssh-socket)
|
||||
set -x GPG_TTY (tty)
|
||||
gpgconf --launch gpg-agent
|
||||
if [ (uname) = "Linux" ]
|
||||
set -e SSH_AUTH_SOCK
|
||||
set -U -x SSH_AUTH_SOCK (gpgconf --list-dirs agent-ssh-socket)
|
||||
set -x GPG_TTY (tty)
|
||||
gpgconf --launch gpg-agent
|
||||
end
|
||||
|
||||
# Clean home directory
|
||||
set -x ATOM_HOME "$XDG_DATA_HOME/atom"
|
||||
set -x ATOM_HOME "$XDG_DATA_HOME/atom"
|
||||
set -x RUSTUP_HOME "$XDG_CONFIG_HOME/rustup"
|
||||
set -x CARGO_HOME "$XDG_CONFIG_HOME/cargo"
|
||||
|
||||
# EOF
|
||||
|
31
.config/git/config
Normal file
31
.config/git/config
Normal file
@ -0,0 +1,31 @@
|
||||
[user]
|
||||
name = hoellen
|
||||
email = dev@hoellen.eu
|
||||
|
||||
[core]
|
||||
excludesfile = ~/.config/git/ignore
|
||||
editor = nvim
|
||||
|
||||
[pull]
|
||||
rebase = true
|
||||
|
||||
[commit]
|
||||
verbose = yes
|
||||
|
||||
[includeIf "gitdir/i:~/Repositories/BfArM/"]
|
||||
path = ~/Repositories/BfArM/.gitconfig
|
||||
|
||||
[difftool]
|
||||
prompt = true
|
||||
|
||||
[diff]
|
||||
tool = nvimdiff
|
||||
|
||||
[difftool "nvimdiff"]
|
||||
cmd = "nvim -d \"$LOCAL\" \"$REMOTE\""
|
||||
|
||||
[filter "lfs"]
|
||||
process = git-lfs filter-process
|
||||
required = true
|
||||
clean = git-lfs clean -- %f
|
||||
smudge = git-lfs smudge -- %f
|
1
.config/git/ignore
Normal file
1
.config/git/ignore
Normal file
@ -0,0 +1 @@
|
||||
**/.DS_Store
|
@ -1,5 +1,5 @@
|
||||
[default]
|
||||
geometry=40%
|
||||
geometry=30%
|
||||
|
||||
# limit max youtube quality
|
||||
ytdl-format=bestvideo[height<=?1080]+bestaudio/best
|
||||
#ytdl-format=bestvideo[height<=?1080]+bestaudio/best
|
||||
|
@ -1,3 +1,5 @@
|
||||
|
||||
# disable keybinding
|
||||
ctrl+w ignore
|
||||
meta+w ignore
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user