Add .gemrc file and some environment variables for Ruby and more errors corrections
This commit is contained in:
parent
a248d87a88
commit
0847aaad42
@ -2,3 +2,6 @@ set fish_greeting
|
|||||||
|
|
||||||
set -x GOPATH $HOME/dev/go
|
set -x GOPATH $HOME/dev/go
|
||||||
set -x PATH $PATH $GOPATH/bin
|
set -x PATH $PATH $GOPATH/bin
|
||||||
|
|
||||||
|
set -x GEM_HOME (ruby -e 'puts Gem.user_dir')
|
||||||
|
set -x PATH $PATH $GEM_HOME/bin
|
||||||
|
18
README.md
18
README.md
@ -5,8 +5,11 @@
|
|||||||
yay -S spectrwm fish openssh rofi xorg xorg-server scrot xorg-xinit alacritty ranger feh nerd-fonts-complete xf86-video-intel librewolf-bin cifs-utils pulseaudio-alsa pulseaudio-ctl slock xautolock zip unzip alsa-utils redshift-minimal numlockx usbutils cmatrix yubikey-touch-detector tlp powertop
|
yay -S spectrwm fish openssh rofi xorg xorg-server scrot xorg-xinit alacritty ranger feh nerd-fonts-complete xf86-video-intel librewolf-bin cifs-utils pulseaudio-alsa pulseaudio-ctl slock xautolock zip unzip alsa-utils redshift-minimal numlockx usbutils cmatrix yubikey-touch-detector tlp powertop
|
||||||
cp dotfiles/.xinitrc ~/
|
cp dotfiles/.xinitrc ~/
|
||||||
cp dotfiles/.fehbg ~/
|
cp dotfiles/.fehbg ~/
|
||||||
chmod +x ~/.fehbg
|
|
||||||
cp dotfiles/.bash_profile ~/
|
cp dotfiles/.bash_profile ~/
|
||||||
|
cp dotfiles/.vimrc ~/
|
||||||
|
cp dotfiles/.tmux.conf ~/
|
||||||
|
cp dotfiles/.gemrc ~/
|
||||||
|
chmod +x ~/.fehbg
|
||||||
mkdir -p ~/.config/{spectrwm,alacritty,rofi,fish/functions}
|
mkdir -p ~/.config/{spectrwm,alacritty,rofi,fish/functions}
|
||||||
cp dotfiles/.config/spectrwm/spectrwm.conf ~/.config/
|
cp dotfiles/.config/spectrwm/spectrwm.conf ~/.config/
|
||||||
cp dotfiles/.config/spectrwm/spectrwm_fr.conf ~/.config/spectrwm/
|
cp dotfiles/.config/spectrwm/spectrwm_fr.conf ~/.config/spectrwm/
|
||||||
@ -17,10 +20,10 @@ cp dotfiles/.config/fish/config.fish ~/config/fish/
|
|||||||
cp dotfiles/.config/fish/functions/cl.fish ~/.config/fish/functions/
|
cp dotfiles/.config/fish/functions/cl.fish ~/.config/fish/functions/
|
||||||
cp dotfiles/.config/fish/functions/fish_prompt.fish ~/.config/fish/functions/
|
cp dotfiles/.config/fish/functions/fish_prompt.fish ~/.config/fish/functions/
|
||||||
sudo sed -i "s/autospawn = no/autospawn = yes/" /etc/pulse/client.conf
|
sudo sed -i "s/autospawn = no/autospawn = yes/" /etc/pulse/client.conf
|
||||||
sudo cp dotfiles/X11/xorg.conf /etc/X11/xorg.conf
|
sudo cp dotfiles/X11/xorg.conf /etc/X11/
|
||||||
sudo cp dotfiles/system/slock@.service /etc/systemd/system/slock@$USER.service
|
sudo cp dotfiles/system/slock@.service /etc/systemd/system/slock@.service
|
||||||
sudo systemctl enable slock@$USER.service
|
sudo systemctl enable slock@$USER.service
|
||||||
sudo cp dotfiles/xorg.conf.d/20-intel.conf /etx/X11/xorg.conf.d/
|
sudo cp dotfiles/xorg.conf.d/20-intel.conf /etc/X11/xorg.conf.d/
|
||||||
sudo cp dotfiles/system/mnt-data.* /etc/systemd/system/
|
sudo cp dotfiles/system/mnt-data.* /etc/systemd/system/
|
||||||
sudo cp dotfiles/system/powertop.service /etc/systemd/system/
|
sudo cp dotfiles/system/powertop.service /etc/systemd/system/
|
||||||
sudo systemctl enable --now mnt-data.automount powertop.service
|
sudo systemctl enable --now mnt-data.automount powertop.service
|
||||||
@ -165,15 +168,10 @@ sudo chmod a+rw /dev/ttyUSBX
|
|||||||
### Jekyll
|
### Jekyll
|
||||||
```
|
```
|
||||||
yay -S ruby
|
yay -S ruby
|
||||||
gem update
|
cp dotfiles/.gemrc ~/
|
||||||
gem install bundler jekyll
|
gem install bundler jekyll
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Add gem's path to fish's path
|
|
||||||
```
|
|
||||||
set -U fish_user_paths ~/.gem/ruby/2.7.0/bin $fish_user_paths
|
|
||||||
```
|
|
||||||
|
|
||||||
### Rust
|
### Rust
|
||||||
Replace `{default, stable, nighlty}` by the toolchain you want install.
|
Replace `{default, stable, nighlty}` by the toolchain you want install.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user