Compare commits

...

2 Commits

Author SHA1 Message Date
d38875e471 add compile_tools.sh 2025-10-03 08:56:33 +02:00
fb9eece5ce yash: add config for yash shell 2025-10-03 08:52:15 +02:00
5 changed files with 41 additions and 2 deletions

17
compile_tools.sh Normal file
View File

@@ -0,0 +1,17 @@
mkdir -p tools/.local/bin
docker kill dotfiles-go && sleep 3 || :
docker run --rm -d --name dotfiles-go -v ./tools/.local/bin:/go/bin golang:1.25.1-alpine3.22 tail -f /dev/null
docker exec dotfiles-go go install github.com/junegunn/fzf@latest
docker exec dotfiles-go go install github.com/gokcehan/lf@latest
docker kill dotfiles-go
docker kill dotfiles-rust && sleep 3 || :
docker run --rm -d --name dotfiles-rust -v ./tools/.local/bin:/rust/bin rust:1.90-bullseye tail -f /dev/null
docker exec dotfiles-rust cargo install zoxide --locked
docker exec dotfiles-rust cp /usr/local/cargo/bin/zoxide /rust/bin
docker exec dotfiles-rust cargo install ripgrep
docker exec dotfiles-rust cp /usr/local/cargo/bin/rg /rust/bin
docker exec dotfiles-rust cargo install fd-find
docker exec dotfiles-rust cp /usr/local/cargo/bin/fd /rust/bin
docker kill dotfiles-rust

View File

@@ -46,5 +46,5 @@ tai() {
} }
vf() { vf() {
vis "+fzf-files auto-files '$1'" vis "+fzf-files auto-files $@"
} }

View File

@@ -8,6 +8,8 @@
# for ssh logins, install and configure the libpam-umask package. # for ssh logins, install and configure the libpam-umask package.
#umask 022 #umask 022
export LANG=pl_PL.UTF-8
export EDITOR=vis export EDITOR=vis
export VISUAL=vis export VISUAL=vis
@@ -28,7 +30,7 @@ done
export PATH export PATH
# start X or Hyprland at login # start X or Hyprland at login
if [[ -z "$DISPLAY" && -z "$WAYLAND_DISPLAY" && "$XDG_VTNR" -eq 1 ]]; then if [ -z "$DISPLAY" -a -z "$WAYLAND_DISPLAY" -a "$XDG_VTNR" -eq 1 ]; then
if which Hyprland > /dev/null && [ -d ~/.config/hypr ]; then if which Hyprland > /dev/null && [ -d ~/.config/hypr ]; then
exec Hyprland exec Hyprland
elif which river > /dev/null && [ -d ~/.config/river ]; then elif which river > /dev/null && [ -d ~/.config/river ]; then

View File

@@ -0,0 +1,3 @@
#!/bin/sh
[ -e ~/.profile ] && . ~/.profile

17
yash/.config/yash/rc Normal file
View File

@@ -0,0 +1,17 @@
# Firstly, load the common customization script.
. --autoload --no-alias initialization/common
LANG=pl_PL.UTF-8
set -o vi
[ -e ~/.config/shellconfig/aliases.sh ] && . ~/.config/shellconfig/aliases.sh
# Clear the screen with Ctrl-L.
bindkey --emacs '\^L' clear-and-redraw-all
bindkey --vi-insert '\^L' clear-and-redraw-all
bindkey --vi-command '\^L' clear-and-redraw-all
# And add your own customization below.
eval "$(zoxide init posix --hook prompt)"