replace paths
This commit is contained in:
parent
497c5fa2bc
commit
754c32c019
|
@ -16,11 +16,8 @@ cd ~/Nextcloud/ressources/workflow_nextcloud/
|
|||
git clone https://forge.chapril.org/tykayn/workflow public_workflow
|
||||
cd public_workflow
|
||||
```
|
||||
Configrer les variables, puis lancer le script d'initialisation
|
||||
Configrer les variables, avoir le droit d'exécuter des scripts avec `sudo` puis lancer le script d'initialisation
|
||||
```bash
|
||||
editor workflow_variables.sh
|
||||
sudo bash ~/Nextcloud/ressources/workflow_nextcloud/public_workflow/initialization/init_workflow.sh
|
||||
bash ~/Nextcloud/ressources/workflow_nextcloud/public_workflow/initialization/init_workflow.sh
|
||||
```
|
||||
|
||||
# TODO
|
||||
* gestion des secrets automatiques pour les rsync
|
|
@ -2,8 +2,7 @@
|
|||
# these bash aliases are meant to be added in your user folder,
|
||||
# in a file named: .bash_aliases (with the dot at the beginning)
|
||||
# done for my blog http://www.cipherbliss.com
|
||||
|
||||
############################ current
|
||||
|
||||
# load aliases from workflow folder
|
||||
. $WORKFLOW_PATH/assets/.bash_aliases
|
||||
#
|
||||
# load variables
|
||||
source ~/Nextcloud/ressources/workflow_nextcloud/public_workflow/workflow_variables.sh
|
||||
source $WORKFLOW_PATH_PUBLIC/install/.bash_custom_aliases
|
|
@ -0,0 +1,187 @@
|
|||
#!/bin/bash
|
||||
# these bash aliases are meant to be added in your user folder,
|
||||
# in a file named: .bash_aliases (with the dot at the beginning)
|
||||
# done for my blog http://www.cipherbliss.com
|
||||
#
|
||||
# load variables
|
||||
#echo "load functions to sync files"
|
||||
source ~/Nextcloud/ressources/workflow_nextcloud/public_workflow/workflow_variables.sh
|
||||
|
||||
|
||||
############################ current
|
||||
alias work="cd $www_folder/scripts/mapping_geojson_to_osm_tags"
|
||||
|
||||
########## lieux ###########
|
||||
alias dok="docker-compose"
|
||||
alias dc="docker-compose"
|
||||
alias dckill="docker container kill $(docker container ls -q)"
|
||||
alias gow="cd $WORKFLOW_PATH" # go to folder of nextcloud where i store my scripts
|
||||
|
||||
###### lieux locaux
|
||||
alias goj="ssh -p 3910 tykayn@bbb.liness.org"
|
||||
alias gopi="ssh pi@192.168.1.2"
|
||||
alias gofat="ssh tykayn@192.168.1.7"
|
||||
alias gowork="work"
|
||||
alias gowww="cd $www_folder"
|
||||
alias gox="ssh tykayn@proxmox.coussinet.org"
|
||||
alias gok="ssh debian@ns3247177.ip-164-132-173.eu" # hébergement kimsufi
|
||||
|
||||
|
||||
alias gonas="ssh $main_user@$IP_DU_NAS -p20522"
|
||||
alias gos="cd $stockage_syncable_folder"
|
||||
|
||||
alias goa="ssh root@biliz.cluster.chapril.org"
|
||||
alias goad="cd /home/poule/encrypted/stockage-syncable/photos/a_dispatcher"
|
||||
alias goo="cd ~/Nextcloud/textes/orgmode"
|
||||
alias gown="cd ~/Nextcloud/ressources/workflow_nextcloud"
|
||||
alias gos="cd /home/poule/encrypted/stockage-syncable"
|
||||
alias gomob="ssh -6 tykayn@mobilizon.vm.openstreetmap.fr -i .ssh/id_rsa_spaceship" # go to mobilizon osm26
|
||||
################ personal info management - file management - PIM #########
|
||||
alias gf="python $WORKFLOW_PATH/files_management/guessfilename_custom.py"
|
||||
alias rff="python $WORKFLOW_PATH/files_management/rename_photo_folder.py"
|
||||
alias m2a="move2archive --archivepath $stockage_syncable_folder/photos"
|
||||
alias ex="exiftool '-filename<FileModifyDate' -d \"%Y-%m-%dT%H.%I.%S%%c.%%le\" -r"
|
||||
alias ex2="exiftool '-filename<DateTimeOriginal' -d \"%Y-%m-%dT%H.%I.%S%%c.%%le\" -r"
|
||||
alias ex3="exiftool '-filename<FileModifyDateTime' -d \"%Y-%m-%dT%H.%I.%S%%c.%%le\" -r"
|
||||
alias ex4="exiftool '-filename<ModifyDate' -d \"%Y-%m-%dT%H.%I.%S%%c.%%le\" -r"
|
||||
alias ex5="exiftool '-filename<CreateDate' -d \"%Y-%m-%dT%H.%I.%S%%c.%%le\" -r"
|
||||
alias exgps="exiftool '-filename<GPSDateTime' -d \"%Y-%m-%dT%H.%I.%S%%c -- has_gps.%%le\" -r"
|
||||
|
||||
alias range="ts-node /home/poule/encrypted/stockage-syncable/www/development/html/rangement/index.ts --dry-run=true "
|
||||
alias rangereal="ts-node /home/poule/encrypted/stockage-syncable/www/development/html/rangement/index.ts"
|
||||
|
||||
################ symfony3 ######################
|
||||
alias sf="php bin/console"
|
||||
alias sfdsu="sf doctrine:schema:update --dump-sql"
|
||||
alias sfdsuf="sf doctrine:schema:update --force"
|
||||
alias sfcc="sf cache:clear"
|
||||
alias sfdcc="sf doctrine:cache:clear-metadata && sf doctrine:cache:clear-query && sf doctrine:cache:clear-result "
|
||||
alias sfdge="sf doctrine:generate:entities"
|
||||
alias sfdsv="sf doctrine:schema:validate"
|
||||
alias sfdges="sf doctrine:generate:entities"
|
||||
alias sffuc="sf fos:user:change-password"
|
||||
alias c7="sudo chmod 777 -R"
|
||||
alias ptest="phpunit -c app"
|
||||
alias composer="/usr/local/bin/composer.phar"
|
||||
alias sfad="sf assetic:dump"
|
||||
alias sfai="sf assets:install"
|
||||
alias yre="yarn run encore --dev"
|
||||
alias yrep="yarn run encore --production"
|
||||
|
||||
################ system without graphic interface - command line ################
|
||||
alias basha="gedit $ALIASES_PATH" # éditer les alisas
|
||||
alias bashare="source $ALIASES_PATH" # recharger les alias
|
||||
alias ainstall="sudo apt-get install" # installer un programme
|
||||
|
||||
alias tfa="tail -f /var/log/nginx/*.log" # suivi des erreurs de serveur
|
||||
|
||||
# update des paquets et nettoyage
|
||||
alias aupg="sudo apt-get autoremove && sudo apt-get autoclean && sudo apt-get update -y && sudo apt-get upgrade -y"
|
||||
|
||||
################ système with X server ################
|
||||
alias phps="bash /home/poule/encrypted/stockage-syncable/ressources/logiciels/PhpStorm-2020.1.4/PhpStorm-201.8743.18/bin/phpstorm.sh"
|
||||
|
||||
################ git helpers ################
|
||||
alias gci="git commit"
|
||||
alias gco="git checkout"
|
||||
alias gst="git status"
|
||||
alias gbr="git branch"
|
||||
alias gpull="git pull"
|
||||
alias gpush="git push"
|
||||
alias gpoush="git push" # for slipping fingers
|
||||
alias glg="git log --pretty=oneline"
|
||||
alias myglg="git log --pretty=oneline --author=tykayn" # log pour seulement mes commits, utile pour un stand up deprojet Agile
|
||||
alias gaci="git add . --all && git commit -m " # ajouter sans les tests js, donnez le message du commit entre guillemets suite à cette commande
|
||||
alias gacio="goo && git add . --all && git commit -m "update orgmode files" && cd -"
|
||||
alias gaaci="git add . --all && git commit -m " # ajouter sans les tests js
|
||||
alias mysr="mysql -uroot -p"
|
||||
################ other helpers
|
||||
alias hgrep="history |grep"
|
||||
alias whatport="sudo netstat -pna | grep "
|
||||
alias runport="firefox https://localhost:$1"
|
||||
|
||||
export RUBY_ENV=devlopment
|
||||
|
||||
export GIT_AUTHOR_NAME="Tykayn"
|
||||
export GIT_AUTHOR_EMAIL="contact@cipherbliss.com"
|
||||
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
# développement
|
||||
alias python=python3
|
||||
alias py=python3
|
||||
|
||||
# rangement
|
||||
alias findup="snap run czkawka"
|
||||
alias ft="filetags --tagtrees --tagtrees-handle-no-tag \"has_no_tag\" --tagtrees-depth 2 --recursive"
|
||||
|
||||
alias netre="sudo service network-manager restart"
|
||||
|
||||
# syncronisations
|
||||
alias getrise="rsync root@proxmox.coussinet.org:/poule/encrypted /home/poule/borg_archives/production-servers-backup/rise/ -avzPW --inplace --delete-before --exclude borgbackup_tkland" # get the backups of the riseup server
|
||||
alias getrisefromjuvisy="rsync tykayn@proxmox.coussinet.org:/poule/encrypted/* /media/tykayn/disque_usb/backup_rise/encrypted -rvzPW --delete-before --exclude borgbackup_tkland --no-perms --no-group --exclude borg2 --exclude=do_not_sync_back"
|
||||
|
||||
#alias syncnas='export RSYNC_PASSWORD="pzqAaGRBMNoEnuXLAmWxjIHHhmTr2qgFCsD2hzZkGQfrkZ7g3WtFyHfYeDK9vWE7S9oMXMFH2XhcjvqrCWi5MDWX2tK9k5nf9M66Ad" &&
|
||||
#rsync -avP --delete \
|
||||
#"tykayn@192.168.1.8:/volume1/bidules_partagés/videos/*" \
|
||||
# /home/poule/medias/videos'
|
||||
|
||||
alias ascan="sudo arp-scan --local"
|
||||
|
||||
# youtube dl
|
||||
alias ydl='yt-dlp -o "%(title)s.f%(format_id)s.%(ext)s" '
|
||||
alias ydla='yt-dlp -o "%(title)s.f%(format_id)s.%(ext)s" '
|
||||
|
||||
# stopper les messageries pour être au calme
|
||||
alias oklm="killall gajim telegram-desktop signal-desktop dino-im"
|
||||
|
||||
# enable color support of ls and also add handy aliases
|
||||
if [ -x /usr/bin/dircolors ]; then
|
||||
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
|
||||
alias ls="ls --color=auto"
|
||||
alias grep="grep --color=auto"
|
||||
alias fgrep="fgrep --color=auto"
|
||||
alias egrep="egrep --color=auto"
|
||||
fi
|
||||
|
||||
# some more ls aliases
|
||||
alias ll="ls -alF"
|
||||
alias la="ls -A"
|
||||
alias l="exa -lh --git --all"
|
||||
|
||||
# extensions du path
|
||||
export PATH=~/.local/bin:$PATH
|
||||
export PATH="$WORKFLOW_PATH:$HOME/.emacs.d/bin:$HOME/.symfony/bin:$PATH"
|
||||
|
||||
# fix mastodon development
|
||||
# export LD_PRELOAD=libjemalloc.so
|
||||
export RAILS_ENV=development
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
export HISTTIMEFORMAT="%d/%m/%y %T "
|
||||
export EDITOR=nano
|
||||
export HUGO_BASE_DIR="~/Nextcloud/textes/hugo"
|
||||
export PATH=~/.cargo/bin:/snap/bin:$WORKFLOW_PATH/bin:$PATH
|
||||
export PATH="$HOME/.rbenv/bin:$PATH"
|
||||
eval "$(rbenv init -)"
|
||||
|
||||
source $WORKFLOW_PATH/install/functions_sync.sh
|
||||
source $WORKFLOW_PATH/install/functions_tk.sh
|
||||
export HISTTIMEFORMAT="%d/%m/%y %T "
|
||||
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
|
||||
|
||||
#gowork
|
||||
# ------------------- work stuff
|
||||
export DOTNET_ROOT=$HOME/.dotnet
|
||||
export PATH=$PATH:$HOME/.dotnet:$HOME/.dotnet/tools
|
||||
nvm use stable
|
||||
|
||||
#echo "loading zfs keys"
|
||||
zfs load-key poule/encrypted
|
||||
zfs mount -a
|
||||
|
||||
|
|
@ -0,0 +1,141 @@
|
|||
# ~/.bashrc: executed by bash(1) for non-login shells.
|
||||
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
|
||||
# for examples
|
||||
|
||||
# If not running interactively, don't do anything
|
||||
case $- in
|
||||
*i*) ;;
|
||||
*) return;;
|
||||
esac
|
||||
|
||||
# don't put duplicate lines or lines starting with space in the history.
|
||||
# See bash(1) for more options
|
||||
HISTCONTROL=ignoreboth
|
||||
|
||||
# append to the history file, don't overwrite it
|
||||
shopt -s histappend
|
||||
|
||||
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
|
||||
HISTSIZE=1000
|
||||
HISTFILESIZE=2000
|
||||
|
||||
# check the window size after each command and, if necessary,
|
||||
# update the values of LINES and COLUMNS.
|
||||
shopt -s checkwinsize
|
||||
|
||||
# If set, the pattern "**" used in a pathname expansion context will
|
||||
# match all files and zero or more directories and subdirectories.
|
||||
#shopt -s globstar
|
||||
|
||||
# make less more friendly for non-text input files, see lesspipe(1)
|
||||
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
|
||||
|
||||
# set variable identifying the chroot you work in (used in the prompt below)
|
||||
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
|
||||
debian_chroot=$(cat /etc/debian_chroot)
|
||||
fi
|
||||
|
||||
# set a fancy prompt (non-color, unless we know we "want" color)
|
||||
case "$TERM" in
|
||||
xterm-color|*-256color) color_prompt=yes;;
|
||||
esac
|
||||
|
||||
# uncomment for a colored prompt, if the terminal has the capability; turned
|
||||
# off by default to not distract the user: the focus in a terminal window
|
||||
# should be on the output of commands, not on the prompt
|
||||
#force_color_prompt=yes
|
||||
|
||||
if [ -n "$force_color_prompt" ]; then
|
||||
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
|
||||
# We have color support; assume it's compliant with Ecma-48
|
||||
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
|
||||
# a case would tend to support setf rather than setaf.)
|
||||
color_prompt=yes
|
||||
else
|
||||
color_prompt=
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$color_prompt" = yes ]; then
|
||||
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
|
||||
else
|
||||
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
|
||||
fi
|
||||
unset color_prompt force_color_prompt
|
||||
|
||||
# If this is an xterm set the title to user@host:dir
|
||||
case "$TERM" in
|
||||
xterm*|rxvt*)
|
||||
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
# enable color support of ls and also add handy aliases
|
||||
if [ -x /usr/bin/dircolors ]; then
|
||||
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
|
||||
alias ls='ls --color=auto'
|
||||
#alias dir='dir --color=auto'
|
||||
#alias vdir='vdir --color=auto'
|
||||
|
||||
alias grep='grep --color=auto'
|
||||
alias fgrep='fgrep --color=auto'
|
||||
alias egrep='egrep --color=auto'
|
||||
fi
|
||||
|
||||
# colored GCC warnings and errors
|
||||
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
|
||||
|
||||
# some more ls aliases
|
||||
alias ll='ls -alF'
|
||||
alias la='ls -A'
|
||||
alias l='ls -CF'
|
||||
|
||||
# Add an "alert" alias for long running commands. Use like so:
|
||||
# sleep 10; alert
|
||||
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
|
||||
|
||||
# Alias definitions.
|
||||
# You may want to put all your additions into a separate file like
|
||||
# ~/.bash_aliases, instead of adding them here directly.
|
||||
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
|
||||
|
||||
if [ -f ~/Nextcloud/ressources/workflow_nextcloud/workflow_variables.sh ]; then
|
||||
. ~/Nextcloud/ressources/workflow_nextcloud/workflow_variables.sh
|
||||
else
|
||||
echo "/!\\ bashrc: fichier de variables workflow_nextcloud non trouvé:"
|
||||
echo "~/Nextcloud/ressources/workflow_nextcloud/workflow_variables.sh"
|
||||
fi
|
||||
|
||||
if [ -f ~/.bash_aliases ]; then
|
||||
. ~/.bash_aliases
|
||||
else
|
||||
echo "/!\\ bashrc: fichier de variables workflow_nextcloud non trouvé:"
|
||||
echo "~/Nextcloud/ressources/workflow_nextcloud/workflow_variables.sh"
|
||||
fi
|
||||
|
||||
# enable programmable completion features (you don't need to enable
|
||||
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
|
||||
# sources /etc/bash.bashrc).
|
||||
if ! shopt -oq posix; then
|
||||
if [ -f /usr/share/bash-completion/bash_completion ]; then
|
||||
. /usr/share/bash-completion/bash_completion
|
||||
elif [ -f /etc/bash_completion ]; then
|
||||
. /etc/bash_completion
|
||||
fi
|
||||
fi
|
||||
export PATH="$HOME/.rbenv/bin:$PATH"
|
||||
eval "$(rbenv init -)"
|
||||
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
|
||||
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
|
||||
export PATH="$PATH:$HOME/.rvm/bin"
|
||||
export PATH=$PATH:/var/lib/flatpak/exports/bin
|
||||
export PATH="$HOME/.rbenv/bin:$PATH"
|
||||
eval "$(rbenv init -)"
|
||||
export PATH="$HOME/.rbenv/bin:$PATH"
|
||||
eval "$(rbenv init -)"
|
|
@ -0,0 +1,38 @@
|
|||
;; -*- lexical-binding: t; -*-
|
||||
|
||||
;; The default is 800 kilobytes. Measured in bytes.
|
||||
(setq gc-cons-threshold (* 50 1000 1000))
|
||||
|
||||
;; Profile emacs startup
|
||||
(add-hook 'emacs-startup-hook
|
||||
(lambda ()
|
||||
(message "*** Emacs loaded in %s seconds with %d garbage collections."
|
||||
(emacs-init-time "%.2f")
|
||||
gcs-done)))
|
||||
|
||||
;; straight el bootstrap https://github.com/raxod502/straight.el#getting-started
|
||||
(defvar bootstrap-version)
|
||||
(let ((bootstrap-file
|
||||
(expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
|
||||
(bootstrap-version 5))
|
||||
(unless (file-exists-p bootstrap-file)
|
||||
(with-current-buffer
|
||||
(url-retrieve-synchronously
|
||||
"https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
|
||||
'silent 'inhibit-cookies)
|
||||
(goto-char (point-max))
|
||||
(eval-print-last-sexp)))
|
||||
(load bootstrap-file nil 'nomessage))
|
||||
|
||||
(straight-use-package 'use-package)
|
||||
(setq straight-use-package-by-default t)
|
||||
(use-package org)
|
||||
|
||||
|
||||
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
|
||||
(set-default-coding-systems 'utf-8)
|
||||
|
||||
(org-babel-load-file "~/Nextcloud/textes/orgmode/config.org")
|
||||
(server-start)
|
||||
|
||||
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
|
|
@ -0,0 +1,25 @@
|
|||
[credential]
|
||||
helper = store
|
||||
[user]
|
||||
email = contact@cipherbliss.com
|
||||
name = tykayn
|
||||
[filesystem "Ubuntu|11.0.7|/dev/mapper/kubuntu--vg-root"]
|
||||
timestampResolution = 5000 nanoseconds
|
||||
minRacyThreshold = 7537 microseconds
|
||||
[rerere]
|
||||
enabled = true
|
||||
[diff]
|
||||
submodule = log
|
||||
#[core]
|
||||
# editor = gedit
|
||||
[init]
|
||||
defaultBranch = main
|
||||
[filesystem "Debian|11.0.16|/dev/mapper/spaceship--vg-root"]
|
||||
timestampResolution = 6000 nanoseconds
|
||||
minRacyThreshold = 6565 microseconds
|
||||
[commit]
|
||||
gpgsign = false
|
||||
[checkout]
|
||||
defaultRemote = origin
|
||||
[core]
|
||||
editor = gedit
|
|
@ -0,0 +1,103 @@
|
|||
# If you come from bash you might have to change your $PATH.
|
||||
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
||||
|
||||
# Path to your oh-my-zsh installation.
|
||||
export ZSH="$HOME/.oh-my-zsh"
|
||||
|
||||
# Set name of the theme to load --- if set to "random", it will
|
||||
# load a random theme each time oh-my-zsh is loaded, in which case,
|
||||
# to know which specific one was loaded, run: echo $RANDOM_THEME
|
||||
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
|
||||
ZSH_THEME="robbyrussell"
|
||||
|
||||
# Set list of themes to pick from when loading at random
|
||||
# Setting this variable when ZSH_THEME=random will cause zsh to load
|
||||
# a theme from this variable instead of looking in $ZSH/themes/
|
||||
# If set to an empty array, this variable will have no effect.
|
||||
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
|
||||
|
||||
# Uncomment the following line to use case-sensitive completion.
|
||||
# CASE_SENSITIVE="true"
|
||||
|
||||
# Uncomment the following line to use hyphen-insensitive completion.
|
||||
# Case-sensitive completion must be off. _ and - will be interchangeable.
|
||||
# HYPHEN_INSENSITIVE="true"
|
||||
|
||||
# Uncomment one of the following lines to change the auto-update behavior
|
||||
# zstyle ':omz:update' mode disabled # disable automatic updates
|
||||
zstyle ':omz:update' mode auto # update automatically without asking
|
||||
# zstyle ':omz:update' mode reminder # just remind me to update when it's time
|
||||
|
||||
# Uncomment the following line to change how often to auto-update (in days).
|
||||
# zstyle ':omz:update' frequency 13
|
||||
|
||||
# Uncomment the following line if pasting URLs and other text is messed up.
|
||||
# DISABLE_MAGIC_FUNCTIONS="true"
|
||||
|
||||
# Uncomment the following line to disable colors in ls.
|
||||
# DISABLE_LS_COLORS="true"
|
||||
|
||||
# Uncomment the following line to disable auto-setting terminal title.
|
||||
# DISABLE_AUTO_TITLE="true"
|
||||
|
||||
# Uncomment the following line to enable command auto-correction.
|
||||
ENABLE_CORRECTION="true"
|
||||
|
||||
# Uncomment the following line to display red dots whilst waiting for completion.
|
||||
# You can also set it to another string to have that shown instead of the default red dots.
|
||||
# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f"
|
||||
# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765)
|
||||
# COMPLETION_WAITING_DOTS="true"
|
||||
|
||||
# Uncomment the following line if you want to disable marking untracked files
|
||||
# under VCS as dirty. This makes repository status check for large repositories
|
||||
# much, much faster.
|
||||
# DISABLE_UNTRACKED_FILES_DIRTY="true"
|
||||
|
||||
# Uncomment the following line if you want to change the command execution time
|
||||
# stamp shown in the history command output.
|
||||
# You can set one of the optional three formats:
|
||||
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
|
||||
# or set a custom format using the strftime function format specifications,
|
||||
# see 'man strftime' for details.
|
||||
HIST_STAMPS="yyyy-dd-mm"
|
||||
|
||||
# Would you like to use another custom folder than $ZSH/custom?
|
||||
# ZSH_CUSTOM=/path/to/new-custom-folder
|
||||
|
||||
# Which plugins would you like to load?
|
||||
# Standard plugins can be found in $ZSH/plugins/
|
||||
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
|
||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||
# Add wisely, as too many plugins slow down shell startup.
|
||||
plugins=(git cp colored-man-pages colorize command-not-found composer symfony2 pip pyenv python debian rbw themes)
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
# User configuration
|
||||
|
||||
# export MANPATH="/usr/local/man:$MANPATH"
|
||||
|
||||
# You may need to manually set your language environment
|
||||
export LANG=fr_FR.UTF-8
|
||||
|
||||
# Preferred editor for local and remote sessions
|
||||
if [[ -n $SSH_CONNECTION ]]; then
|
||||
export EDITOR='nano'
|
||||
else
|
||||
export EDITOR='gedit'
|
||||
fi
|
||||
|
||||
# Compilation flags
|
||||
# export ARCHFLAGS="-arch x86_64"
|
||||
|
||||
# Set personal aliases, overriding those provided by oh-my-zsh libs,
|
||||
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
|
||||
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
|
||||
# For a full list of active aliases, run `alias`.
|
||||
#
|
||||
# Example aliases
|
||||
# alias zshconfig="mate ~/.zshrc"
|
||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||
|
||||
source ~/.bash_aliases
|
|
@ -4,14 +4,14 @@
|
|||
# tâche à effectuer régulièrement sur les ordis portables
|
||||
#
|
||||
# @author functions_sync by @tykayn - contact at cipherbliss.com
|
||||
source ~/Nextcloud/ressources/workflow_nextcloud/workflow_variables.sh
|
||||
source ~/Nextcloud/ressources/workflow_nextcloud/public_workflow/workflow_variables.sh
|
||||
|
||||
# récupérer les notes du mobile et les stocker dans l'incoming inbox orgmode
|
||||
|
||||
bash $WORKFLOW_PATH/archive_from_nextcloud.sh
|
||||
bash $WORKFLOW_PATH/update_calendar_tkwulfi.sh
|
||||
bash $WORKFLOW_PATH/get_nextcloud_notes_todo.sh
|
||||
bash $WORKFLOW_PATH/backup_nextcloud_in_user_home.sh
|
||||
bash $WORKFLOW_PATH/git_auto_commit_workflow_folder.sh
|
||||
bash $WORKFLOW_PATH_PUBLIC/archive_from_nextcloud.sh
|
||||
bash $WORKFLOW_PATH_PUBLIC/update_calendar_tkwulfi.sh
|
||||
bash $WORKFLOW_PATH_PUBLIC/get_nextcloud_notes_todo.sh
|
||||
bash $WORKFLOW_PATH_PUBLIC/backup_nextcloud_in_user_home.sh
|
||||
bash $WORKFLOW_PATH_PUBLIC/git_auto_commit_workflow_folder.sh
|
||||
|
||||
upPhotosADispatcher
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
#!/bin/bash
|
||||
# ajouter dans les scripts avec cette ligne:
|
||||
#
|
||||
# source ~/Nextcloud/ressources/workflow_nextcloud/workflow_variables.sh
|
||||
# source ~/Nextcloud/ressources/workflow_nextcloud/public_workflow/workflow_variables.sh
|
||||
#
|
||||
#
|
||||
|
||||
export main_user="tykayn"
|
||||
|
||||
export main_archive_source_ssh_lan="tykayn@192.168.1.14"
|
||||
|
@ -81,3 +82,5 @@ exclude_opts=()
|
|||
done
|
||||
|
||||
export exclude_opts
|
||||
|
||||
bash ./variables.sh
|
Loading…
Reference in New Issue