Compare commits
2 Commits
b9262745cb
...
319fceddd0
| Author | SHA1 | Date | |
|---|---|---|---|
| 319fceddd0 | |||
| a1354d13fd |
6
.Rprofile
Normal file
6
.Rprofile
Normal file
@ -0,0 +1,6 @@
|
||||
# Default CRAN repository
|
||||
local({
|
||||
r <- getOption("repos")
|
||||
r["CRAN"] <- "https://cran.r-project.org"
|
||||
options(repos=r)
|
||||
})
|
||||
97
.config/alacritty/alacritty.toml
Normal file
97
.config/alacritty/alacritty.toml
Normal file
@ -0,0 +1,97 @@
|
||||
live_config_reload = true
|
||||
|
||||
[bell]
|
||||
animation = "EaseOutExpo"
|
||||
color = "0xffffff"
|
||||
duration = 0
|
||||
|
||||
[colors]
|
||||
draw_bold_text_with_bright_colors = false
|
||||
|
||||
[colors.bright]
|
||||
black = "#7B7B7B"
|
||||
blue = "#B5DCFE"
|
||||
cyan = "#DFDFFD"
|
||||
green = "#CEFFAB"
|
||||
magenta = "#FB9BFE"
|
||||
red = "#AF4B57"
|
||||
white = "#FEFFFE"
|
||||
yellow = "#FFFECC"
|
||||
|
||||
[colors.cursor]
|
||||
cursor = "0x4d4d4c"
|
||||
text = "0xffffff"
|
||||
|
||||
[colors.normal]
|
||||
black = "#4F4F4F"
|
||||
blue = "#7D90A4"
|
||||
cyan = "#85A6A5"
|
||||
green = "#AFD383"
|
||||
magenta = "#A4799D"
|
||||
red = "#AF4B57"
|
||||
white = "#EEEDEE"
|
||||
yellow = "#E5C079"
|
||||
|
||||
[colors.primary]
|
||||
background = "#1C1F27"
|
||||
foreground = "#979CAC"
|
||||
|
||||
[cursor]
|
||||
style = "Block"
|
||||
unfocused_hollow = true
|
||||
|
||||
[debug]
|
||||
log_level = "OFF"
|
||||
persistent_logging = false
|
||||
print_events = false
|
||||
render_timer = false
|
||||
|
||||
[font]
|
||||
size = 16.0
|
||||
|
||||
[font.bold]
|
||||
family = "Source Code Pro"
|
||||
style = "Bold"
|
||||
|
||||
[font.glyph_offset]
|
||||
x = 0
|
||||
y = 0
|
||||
|
||||
[font.italic]
|
||||
family = "Source Code Pro"
|
||||
style = "Italic"
|
||||
|
||||
[font.normal]
|
||||
family = "Source Code Pro"
|
||||
style = "Regular"
|
||||
|
||||
[font.offset]
|
||||
x = 0
|
||||
y = 0
|
||||
|
||||
[mouse]
|
||||
bindings = [
|
||||
{ action = "PasteSelection", mouse = "Middle" },
|
||||
]
|
||||
|
||||
[scrolling]
|
||||
history = 100000
|
||||
multiplier = 3
|
||||
|
||||
[selection]
|
||||
save_to_clipboard = false
|
||||
semantic_escape_chars = ",│`|:\"' ()[]{}<>"
|
||||
|
||||
[window]
|
||||
decorations = "full"
|
||||
dynamic_padding = false
|
||||
opacity = 1
|
||||
startup_mode = "windowed"
|
||||
|
||||
[window.dimensions]
|
||||
columns = 85
|
||||
lines = 40
|
||||
|
||||
[window.padding]
|
||||
x = 5
|
||||
y = 5
|
||||
1
.config/gdb/gdbinit
Normal file
1
.config/gdb/gdbinit
Normal file
@ -0,0 +1 @@
|
||||
add-auto-load-safe-path /home/paul/code/ma/repo/scripts/gdb/vmlinux-gdb.py
|
||||
2
.config/lazygit/config.yml
Normal file
2
.config/lazygit/config.yml
Normal file
@ -0,0 +1,2 @@
|
||||
gui:
|
||||
mouseEvents: false
|
||||
@ -3,7 +3,13 @@ unbind-key C-b
|
||||
set-option -g prefix C-a
|
||||
bind-key C-a send-prefix
|
||||
|
||||
# split panes using |<7C>(vertically) and - (horizontally)
|
||||
# use command prompt shortcut similar to vscode
|
||||
bind-key -n C-p command-prompt
|
||||
|
||||
# since tmux prefix is now ctrl+a, use ctrl+b to send ctrl+a to program
|
||||
bind-key -n C-b send C-a
|
||||
|
||||
# split panes using | (vertically) and - (horizontally)
|
||||
bind / split-window -h -c "#{pane_current_path}"
|
||||
bind - split-window -v -c "#{pane_current_path}"
|
||||
bind c new-window -c "#{pane_current_path}"
|
||||
|
||||
3
.zprofile
Normal file
3
.zprofile
Normal file
@ -0,0 +1,3 @@
|
||||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
eval "$(pyenv init --path)"
|
||||
23
.zshrc
23
.zshrc
@ -134,6 +134,7 @@ alias userchrome="$EDITOR /Users/paul/Library/Application\ Support/Firefox/Profi
|
||||
alias kw='echo Current Week: $((10#$(date +"%V")))'
|
||||
alias wol=wakeonlan
|
||||
alias ge=gnome-extensions
|
||||
alias open="xdg-open"
|
||||
|
||||
# Python tkinter stuff
|
||||
export PATH="/usr/local/opt/tcl-tk/bin:$PATH"
|
||||
@ -152,10 +153,13 @@ alias mount-ds='[ -e "/Volumes/pauls-dateien" ] || open "smb://paul@192.168.193.
|
||||
|
||||
# vscode shortcuts
|
||||
alias ma="code --folder-uri=vscode-remote://ssh-remote+sralab/home/2021/pau.aumann/ma"
|
||||
alias ws="code ~/code/wasteside"
|
||||
alias ws="cd ~/code/wasteside && code . && tmux new -A -s wasteside"
|
||||
|
||||
# iTerm2 integration
|
||||
# source ~/.iterm2_shell_integration.zsh
|
||||
# Fix ls colors for synology directories
|
||||
LS_COLORS+=':ow=01;33'
|
||||
|
||||
# Fix colors for ssh sessions
|
||||
TERM=xterm-256color
|
||||
|
||||
# history
|
||||
HISTFILE=~/.histfile
|
||||
@ -169,6 +173,19 @@ alias bms=blur-my-shell
|
||||
# zoxide
|
||||
eval "$(zoxide init --cmd cd zsh)"
|
||||
|
||||
# disable suspend while ssh is active
|
||||
if [ "$SSH_CLIENT" ] &&
|
||||
! pstree -ps $$ |
|
||||
grep -q -- '-systemd-inhibit(' >/dev/null; then
|
||||
|
||||
echo "Inhibiting automatic standby"
|
||||
exec /usr/bin/systemd-inhibit \
|
||||
--what=idle --why='Interactive SSH Session' -- \
|
||||
"$SHELL" "$@"
|
||||
|
||||
fi
|
||||
|
||||
|
||||
# SDKMAN & Java
|
||||
export SDKMAN_DIR="$HOME/.sdkman"
|
||||
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
|
||||
|
||||
Reference in New Issue
Block a user