Compare commits
2 Commits
nvim.pack
...
bdffc2821b
| Author | SHA1 | Date | |
|---|---|---|---|
| bdffc2821b | |||
| fee227e2ae |
21
Makefile
21
Makefile
@@ -1,26 +1,15 @@
|
||||
# prefer this if stow is available
|
||||
.PHONY: stow
|
||||
stow:
|
||||
stow nvim
|
||||
|
||||
# stow-server:
|
||||
# stow default zsh-server lazygit albert tmux neovim ranger
|
||||
|
||||
# rm:
|
||||
# rm ~/.zshrc ~/.p10k.zsh ~/.tmux.conf ~/.docker_aliases ~/.config/albert/albert.conf ~/.config/nvim/init.vim ~/.config/ranger/rc.conf ~/.config/kitty/kitty.conf
|
||||
# echo "this might delete files from this repository also"
|
||||
|
||||
# link-root:
|
||||
# sudo rm -rf /root/.oh-my-zsh /root/.zshrc /root/.p10k.zsh /root/.docker_aliases
|
||||
# sudo ln -s ${HOME}/.oh-my-zsh /root/
|
||||
# sudo ln -s ${HOME}/.zshrc /root/
|
||||
# sudo ln -s ${HOME}/.p10k.zsh /root/
|
||||
# sudo ln -s ${HOME}/.docker_aliases /root/
|
||||
|
||||
LN := ln -svf
|
||||
LNDIR := ln -sv
|
||||
|
||||
DOTFILES_DIR := $(shell pwd)
|
||||
TARGET_DIR := $(HOME)
|
||||
|
||||
# if stow is not available, symlink configs instead
|
||||
.PHONY: link
|
||||
link: nvim
|
||||
|
||||
@@ -33,7 +22,3 @@ nvim:
|
||||
git:
|
||||
rm -f $(TARGET_DIR)/.gitconfig
|
||||
$(LN) $(DOTFILES_DIR)/git/.gitconfig $(TARGET_DIR)/.gitconfig
|
||||
|
||||
# zsh:
|
||||
# $(LN) ./zsh/.zshrc ~/.zshrc
|
||||
# $(LN) ./zsh/.zprofile ~/.zprofile
|
||||
|
||||
6
aliases
6
aliases
@@ -2,6 +2,7 @@ cc-clean(){
|
||||
rm -rf ./**/*.out 2>/dev/null
|
||||
}
|
||||
|
||||
# compile and run a single C program. Useful for prototyping.
|
||||
cc-run(){
|
||||
local file
|
||||
if [ -z "$1" ]; then
|
||||
@@ -12,11 +13,6 @@ cc-run(){
|
||||
file="$1"
|
||||
shift
|
||||
|
||||
#if command -v norminette &>/dev/null
|
||||
#then
|
||||
# norminette "${file}" -R CheckForbiddenSourceHeader
|
||||
#fi
|
||||
|
||||
gcc "${file}" -o "${file}.out" -Wall -Wextra -Werror -g3 -fsanitize=address $@ && \
|
||||
"./${file}.out"
|
||||
|
||||
|
||||
1
install-ghostty-ubuntu.sh
Executable file
1
install-ghostty-ubuntu.sh
Executable file
@@ -0,0 +1 @@
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/mkasberg/ghostty-ubuntu/HEAD/install.sh)"
|
||||
Reference in New Issue
Block a user