test
This commit is contained in:
@@ -29,11 +29,26 @@ autoload -Uz _zinit
|
||||
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
|
||||
create-repo() {
|
||||
printf "Repo name: "
|
||||
read -r name || return
|
||||
|
||||
[ -z "$name" ] && { echo "No name given"; return; }
|
||||
|
||||
remote_path="hub/$name.git"
|
||||
|
||||
ssh git "
|
||||
mkdir -p '/home/git/$remote_path' &&
|
||||
git init --bare '/home/git/$remote_path' &&
|
||||
cp '/home/git/hub/dotfiles.git/hooks/post-receive' '/home/git/$remote_path/hooks/'
|
||||
" && echo "Created git:$remote_path"
|
||||
ssh git set-desc "$name.git" "$desc"
|
||||
}
|
||||
|
||||
alias ls="ls -a --color"
|
||||
alias grep="rg"
|
||||
alias comp="make && doas make install && make clean"
|
||||
alias update_world='doas emerge --ask --update --newuse --deep @world'
|
||||
if [[ $(uname) != "Darwin" ]]; then
|
||||
alias update_world='doas emerge --ask --update --newuse --deep @world'
|
||||
alias env="sh /home/andrew/personal/dotfiles/env_linux.sh"
|
||||
myfetch.sh
|
||||
else
|
||||
|
||||
+3
-3
@@ -47,7 +47,7 @@ echo "Copying .zshrc to $HOME"
|
||||
|
||||
target="$HOME/.zshrc"
|
||||
rm -f "$target"
|
||||
cp "$HOME/personal/env/.zshrc" "$target"
|
||||
cp "$HOME/personal/dotfiles/.zshrc" "$target"
|
||||
echo "Copied: .zshrc → $target"
|
||||
|
||||
echo
|
||||
@@ -56,7 +56,7 @@ echo "Copying tmux config"
|
||||
target="$HOME/.config/tmux/tmux.conf"
|
||||
mkdir -p "$(dirname "$target")"
|
||||
rm -f "$target"
|
||||
cp "$HOME/personal/env/.config/tmux/tmux.conf" "$target"
|
||||
cp "$HOME/personal/dotfiles/.config/tmux/tmux.conf" "$target"
|
||||
echo "Copied: tmux.conf → $target"
|
||||
|
||||
echo
|
||||
@@ -65,6 +65,6 @@ echo "Copying starship config"
|
||||
target="$HOME/.config/starship.toml"
|
||||
mkdir -p "$(dirname "$target")"
|
||||
rm -f "$target"
|
||||
cp "$HOME/personal/env/.config/starship.toml" "$target"
|
||||
cp "$HOME/personal/dotfiles/.config/starship.toml" "$target"
|
||||
echo "Copied: starship.toml → $target"
|
||||
rm -rf ~/.config/ghostty/linux
|
||||
|
||||
Reference in New Issue
Block a user