Upadted scripts

This commit is contained in:
Christoffer Martinsson 2025-05-19 16:10:52 +02:00
parent 4a10e0d20f
commit 4ba92c8962
4 changed files with 6 additions and 21 deletions

View File

@ -46,17 +46,9 @@ alias ls="eza -1 -l --icons=auto --git-repos --git -h -g -o --no-permissions"
alias lsa="eza -1 -l --icons=auto --git-repos --git -h -g -o --no-permissions -a"
alias lss="eza -1 -l --icons=auto --git-repos --git -h -g --total-size -o --no-permissions -a"
source ~/.fzf.bash
eval "$(starship init bash)"
if [[ ! $TERM =~ linux ]]; then
# if [[ $TERM =~ tmux ]]; then
source ~/.fzf.bash
eval "$(zoxide init bash)"
eval "$(starship init bash)"
# else
# if which tmux >/dev/null 2>&1; then
# tmux new-session
# fi
# fi
else
if [[ $TERM =~ linux ]]; then
wrappedhl
fi

View File

@ -55,13 +55,3 @@ eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
source ~/.fzf.bash
eval "$(starship init bash)"
if [[ $TERM =~ tmux ]]; then
eval "$(zoxide init bash)"
fi
# # TMUX
# if [[ ! $TERM =~ tmux ]]; then
# if which tmux >/dev/null 2>&1; then
# tmux new-session
# fi
# fi

View File

@ -172,6 +172,7 @@ rustup default stable
ln -sf ~/linuxbox/bashrc_arch ~/.bashrc
mkdir -p ~/.local/bin
ln -sf ~/linuxbox/update_wrapper.sh ~/.local/bin/update
ln -sf ~/linuxbox/start_nvim.sh ~/.local/bin/start_nvim
sudo localectl set-locale LANG=en_US.UTF-8
# Install hyprland

View File

@ -83,6 +83,8 @@ else
ln -sf ~/linuxbox/config/alacritty/alacritty.toml ~/.config/alacritty/alacritty.toml
fi
ln -sf ~/linuxbox/update_wrapper.sh ~/.local/bin/update
ln -sf ~/linuxbox/start_nvim.sh ~/.local/bin/start_nvim
ln -sf ~/linuxbox/start_toolbox.sh ~/.local/bin/start_toolbox
# Install brew
printf -- '\033[33m Installing Homebrew\n\033[37m'