From 6bd7222755eee239e25edec2da067883dd721513 Mon Sep 17 00:00:00 2001 From: hugogogo Date: Sun, 18 Oct 2026 11:08:43 +0200 Subject: [PATCH] changing zsh and vim color --- config_files/.vimrc | 3 +++ config_files/.zshrc | 5 +++++ tutos/computer.txt | 12 +++++------- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/config_files/.vimrc b/config_files/.vimrc index 462daf6..8ae48fc 100644 --- a/config_files/.vimrc +++ b/config_files/.vimrc @@ -5,6 +5,9 @@ " base settings "--------------------------------------------------------------- +set background=light +colorscheme default + " Show (partial) command in status line. "set showcmd diff --git a/config_files/.zshrc b/config_files/.zshrc index bfeffd0..17330ca 100644 --- a/config_files/.zshrc +++ b/config_files/.zshrc @@ -4,6 +4,9 @@ #PS1="%(?:%{%}➜ :%{%}➜ ) %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)" #PS1='%(?:%{%}➜ :%{%}➜ ) %{$fg[cyan]%}%test%{$reset_color%} $(git_prompt_info)' +# launch vlc or mpv in flatpax sandboxed +mpv-sandbox() { flatpak run io.mpv.Mpv "$@"; } +vlc-sandbox() { flatpak run org.videolan.VLC "$@"; } # ---------------------------------------------------- @@ -218,3 +221,5 @@ export PATH=$JAVA_HOME/bin:$PATH # to print the date for the history command setopt EXTENDED_HISTORY + +. "$HOME/.local/bin/env" diff --git a/tutos/computer.txt b/tutos/computer.txt index 2af9157..6eb073c 100644 --- a/tutos/computer.txt +++ b/tutos/computer.txt @@ -130,19 +130,17 @@ find | sort | grep -ve "node_modules/" -e ".git/" | sed 's#[^/]*/#|__ #g;s#__ |# - /usr/bin if application is installed by systeme app manager (not the case for appimages) - /usr/sbin if need sudo to execute - /usr/local/bin or /usr/local/sbin if installed manually by user - - ~/.local/bin is accessible only for this user (PREFFERED LOCATION) - - make sure "~/.local/bin" is in $PATH - - **ln -s /absolut/path/to/program.appImage ~/.local/bin/** + - ~/Applications (you must create it) is accessible only for this user (PREFFERED LOCATION) + - **ln -s /absolut/path/to/program.appImage ~/Applications/** .desktop file : - - in : /usr/share/applications/.desktop - - or in : ~/.local/share/applications/.desktop + - in : ~/.local/share/applications/.desktop - **locate "**desktop"** : to locate if the .desktop file already exist - min content : [Desktop Entry] - Exec= (if symlink created, otherwise path to the appimage file) + Exec=/path/to/ Name= Type=Application - **( cd /usr/share/applications && chmod 644 .desktop )** maybe change permissions + **( chmod 644 ~/.local/share/applications/.desktop )** maybe change permissions **applications :** - add it to bin, so you can launch it with its name directly : **ln -s /path/to/executable ~/.local/bin/**