Compare commits

...
1 Commits
Author SHA1 Message Date
hugogogo 6bd7222755 changing zsh and vim color 2026-10-18 11:10:37 +02:00
3 changed files with 13 additions and 7 deletions
+3
View File
@@ -5,6 +5,9 @@
" base settings " base settings
"--------------------------------------------------------------- "---------------------------------------------------------------
set background=light
colorscheme default
" Show (partial) command in status line. " Show (partial) command in status line.
"set showcmd "set showcmd
+5
View File
@@ -4,6 +4,9 @@
#PS1="%(?:%{%}➜ :%{%}➜ ) %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)" #PS1="%(?:%{%}➜ :%{%}➜ ) %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)"
#PS1='%(?:%{%}➜ :%{%}➜ ) %{$fg[cyan]%}%test%{$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 # to print the date for the history command
setopt EXTENDED_HISTORY setopt EXTENDED_HISTORY
. "$HOME/.local/bin/env"
+5 -7
View File
@@ -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/bin if application is installed by systeme app manager (not the case for appimages)
- /usr/sbin if need sudo to execute - /usr/sbin if need sudo to execute
- /usr/local/bin or /usr/local/sbin if installed manually by user - /usr/local/bin or /usr/local/sbin if installed manually by user
- ~/.local/bin is accessible only for this user (PREFFERED LOCATION) - ~/Applications (you must create it) is accessible only for this user (PREFFERED LOCATION)
- make sure "~/.local/bin" is in $PATH - **ln -s /absolut/path/to/program.appImage ~/Applications/<name>**
- **ln -s /absolut/path/to/program.appImage ~/.local/bin/<name>**
.desktop file : .desktop file :
- in : /usr/share/applications/<name>.desktop - in : ~/.local/share/applications/<name>.desktop
- or in : ~/.local/share/applications/<name>.desktop
- **locate "*<name>*desktop"** : to locate if the .desktop file already exist - **locate "*<name>*desktop"** : to locate if the .desktop file already exist
- min content : - min content :
[Desktop Entry] [Desktop Entry]
Exec=<program name> (if symlink created, otherwise path to the appimage file) Exec=/path/to/<program name>
Name=<name> Name=<name>
Type=Application Type=Application
**( cd /usr/share/applications && chmod 644 <name>.desktop )** maybe change permissions **( chmod 644 ~/.local/share/applications/<name>.desktop )** maybe change permissions
**applications :** **applications :**
- add it to bin, so you can launch it with its name directly : **ln -s /path/to/executable ~/.local/bin/** - add it to bin, so you can launch it with its name directly : **ln -s /path/to/executable ~/.local/bin/**