changing zsh and vim color
This commit is contained in:
@@ -5,6 +5,9 @@
|
||||
" base settings
|
||||
"---------------------------------------------------------------
|
||||
|
||||
set background=light
|
||||
colorscheme default
|
||||
|
||||
" Show (partial) command in status line.
|
||||
"set showcmd
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
+5
-7
@@ -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/<name>**
|
||||
- ~/Applications (you must create it) is accessible only for this user (PREFFERED LOCATION)
|
||||
- **ln -s /absolut/path/to/program.appImage ~/Applications/<name>**
|
||||
.desktop file :
|
||||
- in : /usr/share/applications/<name>.desktop
|
||||
- or in : ~/.local/share/applications/<name>.desktop
|
||||
- in : ~/.local/share/applications/<name>.desktop
|
||||
- **locate "*<name>*desktop"** : to locate if the .desktop file already exist
|
||||
- min content :
|
||||
[Desktop Entry]
|
||||
Exec=<program name> (if symlink created, otherwise path to the appimage file)
|
||||
Exec=/path/to/<program name>
|
||||
Name=<name>
|
||||
Type=Application
|
||||
**( cd /usr/share/applications && chmod 644 <name>.desktop )** maybe change permissions
|
||||
**( chmod 644 ~/.local/share/applications/<name>.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/**
|
||||
|
||||
Reference in New Issue
Block a user