Compare commits
2 commits
5694b4a5fc
...
084b0e3a38
Author | SHA1 | Date | |
---|---|---|---|
084b0e3a38 | |||
71d1b1e979 |
8 changed files with 47 additions and 10 deletions
10
.config/.gitignore
vendored
10
.config/.gitignore
vendored
|
@ -1,7 +1,10 @@
|
|||
# Ignore Everything By Default
|
||||
/*
|
||||
|
||||
#Unignore Ignore
|
||||
# Install Script
|
||||
!install.sh
|
||||
|
||||
# Unignore Ignore
|
||||
!.gitignore
|
||||
|
||||
# Oh My Bash
|
||||
|
@ -10,9 +13,12 @@
|
|||
# Glow
|
||||
!/glow/
|
||||
|
||||
# oh My Posh
|
||||
# Oh My Posh
|
||||
!omp.toml
|
||||
|
||||
# Services
|
||||
!systemd/
|
||||
|
||||
# SSH
|
||||
!/ssh/
|
||||
|
||||
|
|
3
.config/glow/install.sh
Executable file
3
.config/glow/install.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
command -v glow &>/dev/null || go install github.com/charmbracelet/glow@latest
|
9
.config/install.sh
Executable file
9
.config/install.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
$HOME/.config/nvim/install.sh
|
||||
$HOME/.config/glow/install.sh
|
||||
$HOME/.config/systemd/install.sh
|
||||
|
||||
# Git
|
||||
command -v delta &>/dev/null || sudo dnf install -y git-delta
|
||||
command -v git-graph &>/dev/null || cargo install git-graph
|
|
@ -1 +1 @@
|
|||
Subproject commit 5fc2baefbe0ff240406b33ec9828dd4da29510af
|
||||
Subproject commit 3911d847ee92b8ac17c24b546590dc3f3ca0a4e6
|
3
.config/systemd/install.sh
Executable file
3
.config/systemd/install.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
command -v ra-multiplex &>/dev/null || cargo install ra-multiplex
|
9
.config/systemd/user/ra-multiplex.service
Normal file
9
.config/systemd/user/ra-multiplex.service
Normal file
|
@ -0,0 +1,9 @@
|
|||
[Unit]
|
||||
Description=Multiplex Rust Analyzer Sessions, for a fast LSP experience
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/zsh -l -c 'exec "$@"' _ ra-multiplex server
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
15
.zshrc
15
.zshrc
|
@ -64,7 +64,7 @@ export npm_config_log="$HOME/.local/share/npm/logs"
|
|||
|
||||
# Volta
|
||||
export VOLTA_HOME="$HOME/.local/share/volta"
|
||||
[ ! -d $VOLTA_HOME ] && curl https://get.volta.sh | bash -s -- --skip-setup
|
||||
[ ! -d $VOLTA_HOME ] && curl https://get.volta.sh | bash -s -- --skip-setup && volta install node@lts
|
||||
|
||||
# Go
|
||||
export GOPATH=~/.local/share/go
|
||||
|
@ -76,6 +76,7 @@ export RUSTUP_HOME=$HOME/.local/share/rustup
|
|||
zinit snippet OMZP::rust
|
||||
|
||||
# Php
|
||||
export COMPOSER_HOME=$HOME/.local/share/composer
|
||||
zinit snippet OMZP::composer
|
||||
zinit snippet OMZP::symfony6
|
||||
|
||||
|
@ -86,13 +87,21 @@ export HSA_OVERRIDE_GFX_VERSION=10.3.0 # RX 6650 XT
|
|||
export JUST_UNSTABLE=1
|
||||
|
||||
# PATH
|
||||
export PATH=$PATH:$VOLTA_HOME/bin:$GOBIN:$CARGO_HOME/bin
|
||||
export PATH=$PATH:$VOLTA_HOME/bin:$GOBIN:$CARGO_HOME/bin:$COMPOSER_HOME/vendor/bin
|
||||
|
||||
# Install Dependencies
|
||||
command -v go &>/dev/null || sudo dnf install go
|
||||
[ ! -d $RUSTUP_HOME ] && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --no-modify-path -y
|
||||
command -v composer &>/dev/null || sudo dnf install composer
|
||||
|
||||
|
||||
# Install Scripts
|
||||
$HOME/.config/install.sh
|
||||
|
||||
# Aliases
|
||||
#########################################################
|
||||
alias edit-nvim-conf="nvim ~/.config/nvim"
|
||||
alias edit-zsh-conf="nvim ~/.zshrc"
|
||||
alias todo="nvim ~/Dokumente/Notes/Todo.md"
|
||||
alias hist="eval \$(cat $HISTFILE | fzf)"
|
||||
alias nano="nvim"
|
||||
alias neofetch="fastfetch"
|
||||
|
|
|
@ -7,10 +7,8 @@
|
|||
|
||||
## Setup
|
||||
|
||||
### Fedora
|
||||
|
||||
#### Install System Packages
|
||||
### Install Dependencies
|
||||
|
||||
```sh
|
||||
dnf install -y test
|
||||
sudo dnf install -y curl wget git make just
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue