Skip to content

Instantly share code, notes, and snippets.

View LazyRen's full-sized avatar
🇰🇷
Work Hard to be Lazy

Lee, DaeIn LazyRen

🇰🇷
Work Hard to be Lazy
View GitHub Profile
@LazyRen
LazyRen / tmux.conf
Last active January 22, 2021 07:41 — forked from spicycode/tmux.conf
The best and greatest tmux.conf ever
set-option -g default-shell $SHELL
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
#set -g default-terminal screen-256color
CompileFlags:
Add: -ferror-limit=0
InlayHints:
Designators: Yes
Enabled: Yes
ParameterNames: Yes
DeducedTypes: Yes
Diagnostics:
#!/bin/bash
while "$@"; do :; done
@LazyRen
LazyRen / alias.zsh
Created March 15, 2024 01:04
Remove zsh history entry
# Use TAB to select entries to delete
# Run `fc -R` to reload history file from a current shell.
alias hfzf='history -w; cat ~/.zsh_history | fzf -m > /tmp/to_remove; grep -vxFf /tmp/to_remove ~/.zsh_history > ~/.new_zsh_history; mv ~/.new_zsh_history ~/.zsh_history; rm /tmp/to_remove; history -r'