From c0a3bcecd16c0c9243cec24be44bb86cc275f055 Mon Sep 17 00:00:00 2001 From: Bernardo Loureiro Date: Sun, 13 Aug 2023 12:59:14 -0300 Subject: [PATCH] Updating a lot of scripts --- .config/Code/User/settings.json | 58 ++------- .config/autostart/blueman.desktop | 3 +- .config/autostart/dropbox.desktop | 11 -- .../autostart/ignore-lid-switch-tweak.desktop | 1 + .config/gtk-3.0/bookmarks | 2 + .config/thefuck/settings.py | 0 .devcontainer/postCreate.sh | 0 .vscode/settings.json | 3 +- aliases | 1 - antigen/install | 0 antigen/start | 0 bash/.bash_aliases | 1 + bash/.bashrc | 119 ++++++++++++++++++ bash/bash.d/.keep | 0 bash/scripts/enable-hibernate.sh | 0 crontab | 2 +- docker/{install => setup} | 0 dropbox/install | 2 - dropbox/start | 2 +- fonts/install.sh | 0 gnome/extentions.txt | 17 ++- gnome/readme.md | 2 +- go/install | 2 - guake/config.dconf | 47 ------- homebrew/install | 0 homebrew/start | 0 install | 0 nano/install | 0 ohmyposh/install | 0 ohmyposh/start | 0 ohmyzsh/functions/ohmyzsh_bundles_init | 0 ohmyzsh/functions/ohmyzsh_plugins_list | 0 ohmyzsh/install | 0 ohmyzsh/start | 0 python/install | 12 ++ python/{ => scripts}/diff.py | 0 .../{ => scripts}/fix_trusted_gpg_warning.py | 0 python/{ => scripts}/my_gcal_cli/modd.conf | 0 .../{ => scripts}/my_gcal_cli/my_gcal_cli.py | 0 .../my_gcal_cli/requirements.txt | 0 python/{ => scripts}/my_github_org_stats.py | 0 raspbian/install.sh | 0 starship/start | 4 +- todo-txt/.todo.actions.d/add | 0 todo-txt/.todo.actions.d/top | 0 todo-txt/.todo.actions.d/topn | 0 ubuntu-server/install.sh | 7 -- zplug/install | 0 zplug/start | 2 + zsh/init/10_debug.zsh | 0 zsh/init/30_go.zsh | 0 zsh/init/40_git.zsh | 0 zsh/init/50_todotxt.zsh | 0 zsh/init/60_theme.zsh | 0 zsh/init/misc.zsh | 2 + zsh/install | 2 +- zsh/plugins.txt | 2 + zsh/start | 0 58 files changed, 174 insertions(+), 130 deletions(-) delete mode 100644 .config/autostart/dropbox.desktop mode change 100644 => 100755 .config/thefuck/settings.py mode change 100644 => 100755 .devcontainer/postCreate.sh mode change 100755 => 100644 antigen/install mode change 100755 => 100644 antigen/start create mode 100644 bash/.bash_aliases create mode 100644 bash/.bashrc delete mode 100644 bash/bash.d/.keep mode change 100644 => 100755 bash/scripts/enable-hibernate.sh rename docker/{install => setup} (100%) mode change 100755 => 100644 mode change 100755 => 100644 dropbox/install mode change 100755 => 100644 dropbox/start mode change 100644 => 100755 fonts/install.sh mode change 100755 => 100644 go/install delete mode 100644 guake/config.dconf mode change 100755 => 100644 homebrew/install mode change 100755 => 100644 homebrew/start mode change 100755 => 100644 install mode change 100755 => 100644 nano/install mode change 100755 => 100644 ohmyposh/install mode change 100755 => 100644 ohmyposh/start mode change 100755 => 100644 ohmyzsh/functions/ohmyzsh_bundles_init mode change 100755 => 100644 ohmyzsh/functions/ohmyzsh_plugins_list mode change 100755 => 100644 ohmyzsh/install mode change 100755 => 100644 ohmyzsh/start create mode 100644 python/install rename python/{ => scripts}/diff.py (100%) rename python/{ => scripts}/fix_trusted_gpg_warning.py (100%) rename python/{ => scripts}/my_gcal_cli/modd.conf (100%) rename python/{ => scripts}/my_gcal_cli/my_gcal_cli.py (100%) mode change 100644 => 100755 rename python/{ => scripts}/my_gcal_cli/requirements.txt (100%) rename python/{ => scripts}/my_github_org_stats.py (100%) mode change 100644 => 100755 raspbian/install.sh mode change 100755 => 100644 starship/start mode change 100755 => 100644 todo-txt/.todo.actions.d/add mode change 100755 => 100644 todo-txt/.todo.actions.d/top mode change 100755 => 100644 todo-txt/.todo.actions.d/topn delete mode 100755 ubuntu-server/install.sh mode change 100755 => 100644 zplug/install mode change 100755 => 100644 zplug/start mode change 100644 => 100755 zsh/init/10_debug.zsh mode change 100644 => 100755 zsh/init/30_go.zsh mode change 100644 => 100755 zsh/init/40_git.zsh mode change 100644 => 100755 zsh/init/50_todotxt.zsh mode change 100644 => 100755 zsh/init/60_theme.zsh mode change 100644 => 100755 zsh/init/misc.zsh mode change 100755 => 100644 zsh/install mode change 100755 => 100644 zsh/start diff --git a/.config/Code/User/settings.json b/.config/Code/User/settings.json index e536c00..ce8d7a2 100644 --- a/.config/Code/User/settings.json +++ b/.config/Code/User/settings.json @@ -27,9 +27,9 @@ "editor.defaultFormatter": "vscode.json-language-features", "editor.tabSize": 2 }, - // "[php]": { - // "editor.defaultFormatter": "bmewburn.vscode-intelephense-client" - // }, + "[php]": { + "editor.defaultFormatter": "vscode.php-language-features" + }, "[markdown]": { "editor.defaultFormatter": "DavidAnson.vscode-markdownlint" }, @@ -47,12 +47,6 @@ "editor.defaultFormatter": "redhat.vscode-yaml", "editor.tabSize": 2 }, - "dlvLoadConfig": { - "maxVariableRecurse": 3, - "maxStringLen": 1024, - "maxArrayValues": 400, - "maxStructFields": -1 - }, "editor.rulers": [ 79, 119 @@ -83,28 +77,12 @@ "gitlens.advanced.messages": { "suppressLineUncommittedWarning": true }, - "go.editorContextMenuCommands": { - "removeTags": true, - "fillStruct": true, - "testFile": true, - "testPackage": true, - "generateTestForFile": true, - "generateTestForPackage": true, - "benchmarkAtCursor": true - }, "go.delveConfig": { "dlvLoadConfig": { "maxStringLen": 1024, }, "apiVersion": 2, }, - "go.formatFlags": [ - "-w" - ], - "go.liveErrors": { - "enabled": true, - "delay": 500 - }, "go.testFlags": [ "-short", "-race" @@ -212,42 +190,21 @@ "git.autofetch": true, "git.confirmSync": false, "git.enableSmartCommit": true, - "go.autocompleteUnimportedPackages": true, - "go.buildOnSave": "off", - "go.coverageOptions": "showUncoveredCodeOnly", - "go.coverOnSave": false, - "go.coverShowCounts": true, - "go.formatTool": "goimports", - "go.gotoSymbol.includeGoroot": true, - "go.gotoSymbol.includeImports": true, - "go.lintTool": "golangci-lint", - "go.testOnSave": false, - "go.testTimeout": "1m", - "go.toolsManagement.autoUpdate": true, - "go.useCodeSnippetsOnFunctionSuggest": true, - "go.useCodeSnippetsOnFunctionSuggestWithoutType": true, - "go.useLanguageServer": true, - "go.vetOnSave": "off", + "go.gopath": "~/gopath", "intelephense.environment.phpVersion": "5.6.40", "javascript.updateImportsOnFileMove.enabled": "always", "partialDiff.enableTelemetry": false, "python.envFile": "${workspaceFolder}/*.env", - "python.linting.enabled": true, - "python.linting.flake8Enabled": true, - "python.linting.pycodestyleEnabled": false, - "python.linting.pylintEnabled": true, "python.testing.pytestEnabled": true, "python.testing.unittestEnabled": true, "redhat.telemetry.enabled": false, "scm.providerCountBadge": "auto", "security.workspace.trust.untrustedFiles": "open", "shellcheck.disableVersionCheck": true, - "synthwave84.brightness": 0.45, - "synthwave84.disableGlow": false, "telemetry.telemetryLevel": "off", "terminal.integrated.defaultProfile.linux": "zsh", "trailing-spaces.deleteModifiedLinesOnly": true, - "trailing-spaces.liveMatching": false, + "trailing-spaces.liveMatching": true, "trailing-spaces.trimOnSave": true, "update.showReleaseNotes": false, "vsicons.dontShowNewVersionMessage": true, @@ -255,12 +212,11 @@ "window.restoreWindows": "none", "window.title": "${dirty}${separator}${rootName}${separator}vs", "window.titleSeparator": " • ", + "window.zoomLevel": -1, + "workbench.colorTheme": "Tokyo Hack", "workbench.editor.restoreViewState": false, "workbench.iconTheme": "vscode-icons", "workbench.startupEditor": "newUntitledFile", "yaml.format.singleQuote": true, "yaml.keyOrdering": false, - "workbench.colorTheme": "SynthWave '84", - "git.openRepositoryInParentFolders": "never", - "window.zoomLevel": -1, } \ No newline at end of file diff --git a/.config/autostart/blueman.desktop b/.config/autostart/blueman.desktop index db75101..0fcc491 100644 --- a/.config/autostart/blueman.desktop +++ b/.config/autostart/blueman.desktop @@ -8,4 +8,5 @@ Type=Application Categories= X-Ubuntu-Gettext-Domain=blueman X-GNOME-Autostart-enabled=false -Hidden=true +Hidden=false + diff --git a/.config/autostart/dropbox.desktop b/.config/autostart/dropbox.desktop deleted file mode 100644 index a24f1ab..0000000 --- a/.config/autostart/dropbox.desktop +++ /dev/null @@ -1,11 +0,0 @@ -[Desktop Entry] -Name=Dropbox -GenericName=File Synchronizer -Comment=Sync your files across computers and to the web -Exec=dropbox start -i -Terminal=false -Type=Application -Icon=dropbox -Categories=Network;FileTransfer; -Keywords=file;synchronization;sharing;collaboration;cloud;storage;backup; -StartupNotify=false diff --git a/.config/autostart/ignore-lid-switch-tweak.desktop b/.config/autostart/ignore-lid-switch-tweak.desktop index f5c8769..da73eac 100644 --- a/.config/autostart/ignore-lid-switch-tweak.desktop +++ b/.config/autostart/ignore-lid-switch-tweak.desktop @@ -2,4 +2,5 @@ Type=Application Name=ignore-lid-switch-tweak Exec=/usr/libexec/gnome-tweak-tool-lid-inhibitor +Hidden=false diff --git a/.config/gtk-3.0/bookmarks b/.config/gtk-3.0/bookmarks index b750971..87b5797 100644 --- a/.config/gtk-3.0/bookmarks +++ b/.config/gtk-3.0/bookmarks @@ -1,2 +1,4 @@ +file:///home/bernardo/Downloads file:///home/bernardo/sync +file:///home/bernardo/workspaces/bernardolm file:///home/bernardo/workspaces/bernardolm/dotfiles diff --git a/.config/thefuck/settings.py b/.config/thefuck/settings.py old mode 100644 new mode 100755 diff --git a/.devcontainer/postCreate.sh b/.devcontainer/postCreate.sh old mode 100644 new mode 100755 diff --git a/.vscode/settings.json b/.vscode/settings.json index bf7f72f..c491ee3 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,5 +2,6 @@ "git.autoRepositoryDetection": false, "git.detectSubmodules": false, "git.ignoreSubmodules": true, - "python.analysis.typeCheckingMode": "basic" + "python.analysis.typeCheckingMode": "basic", + "yaml.schemas": null, } \ No newline at end of file diff --git a/aliases b/aliases index 3bc07ab..a79ede7 100644 --- a/aliases +++ b/aliases @@ -47,7 +47,6 @@ alias sau='sudo apt-get update' alias sauu='sudo apt-get update; sudo apt-get upgrade --yes; sudo apt-get --purge --yes autoremove' alias sl='screen -list' alias sr='screen -r' -alias sudo='sudo ' alias td='todo_zsh' alias tda='td add' alias tdls='td top' diff --git a/antigen/install b/antigen/install old mode 100755 new mode 100644 diff --git a/antigen/start b/antigen/start old mode 100755 new mode 100644 diff --git a/bash/.bash_aliases b/bash/.bash_aliases new file mode 100644 index 0000000..2141e08 --- /dev/null +++ b/bash/.bash_aliases @@ -0,0 +1 @@ +alias lsa='ls -lah' diff --git a/bash/.bashrc b/bash/.bashrc new file mode 100644 index 0000000..b8bce1c --- /dev/null +++ b/bash/.bashrc @@ -0,0 +1,119 @@ +# Fig pre block. Keep at the top of this file. +[[ -f "$HOME/.fig/shell/bashrc.pre.bash" ]] && builtin source "$HOME/.fig/shell/bashrc.pre.bash" +# ~/.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 ~/.bash_aliases ]; then + . ~/.bash_aliases +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 diff --git a/bash/bash.d/.keep b/bash/bash.d/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/bash/scripts/enable-hibernate.sh b/bash/scripts/enable-hibernate.sh old mode 100644 new mode 100755 diff --git a/crontab b/crontab index 450d0f8..bd62058 100644 --- a/crontab +++ b/crontab @@ -1,3 +1,3 @@ -*/5 * * * * dconf dump /apps/guake/ > ~/workspaces/bernardolm/dotfiles/guake/config.dconf +*/5 * * * * dconf dump /apps/guake/ > ~/workspaces/bernardolm/dotfiles/guake/config.dconf */15 * * * * /home/bernardo/sync/zsh/scripts/sync-local-home-with-external-hd.sh diff --git a/docker/install b/docker/setup old mode 100755 new mode 100644 similarity index 100% rename from docker/install rename to docker/setup diff --git a/dropbox/install b/dropbox/install old mode 100755 new mode 100644 index 5ae4a3e..8441a36 --- a/dropbox/install +++ b/dropbox/install @@ -1,3 +1 @@ #!/usr/bin/env zsh - -dropbox start -i diff --git a/dropbox/start b/dropbox/start old mode 100755 new mode 100644 index 8dcd366..0107969 --- a/dropbox/start +++ b/dropbox/start @@ -2,4 +2,4 @@ . "${DOTFILES}/dropbox/install" -python3 "~/.local/bin/dropbox.py" start +python3 "~/.local/bin/dropbox.py" start -i diff --git a/fonts/install.sh b/fonts/install.sh old mode 100644 new mode 100755 diff --git a/gnome/extentions.txt b/gnome/extentions.txt index ab881b1..43cbf3d 100644 --- a/gnome/extentions.txt +++ b/gnome/extentions.txt @@ -1,15 +1,30 @@ -# ubuntu-appindicators@ubuntu.com +appindicatorsupport@rgcjonas.gmail.com apps-menu@gnome-shell-extensions.gcampax.github.com auto-move-windows@gnome-shell-extensions.gcampax.github.com +caffeine@patapon.info +clipboard-indicator@tudmotu.com ControlBlurEffectOnLockScreen@pratap.fastmail.fm +desk-changer@eric.gach.gmail.com +ding@rastersoft.com drive-menu@gnome-shell-extensions.gcampax.github.com emoji-selector@maestroschan.fr espresso@coadmunkee.github.com gnome-shell-screenshot@ttll.de +just-perfection-desktop@just-perfection +launch-new-instance@gnome-shell-extensions.gcampax.github.com +native-window-placement@gnome-shell-extensions.gcampax.github.com places-menu@gnome-shell-extensions.gcampax.github.com +screenshot-window-sizer@gnome-shell-extensions.gcampax.github.com sound-output-device-chooser@kgshank.net status-area-horizontal-spacing@mathematical.coffee.gmail.com tactile@lundal.io +trash-indicator@Dieg0Js.github.io trayIconsReloaded@selfmade.pl +ubuntu-appindicators@ubuntu.com +ubuntu-dock@ubuntu.com user-theme@gnome-shell-extensions.gcampax.github.com +volume-mixer@evermiss.net WallpaperSwitcher@Rishu +window-list@gnome-shell-extensions.gcampax.github.com +windowsNavigator@gnome-shell-extensions.gcampax.github.com +workspace-indicator@gnome-shell-extensions.gcampax.github.com diff --git a/gnome/readme.md b/gnome/readme.md index 68ece69..ced77eb 100644 --- a/gnome/readme.md +++ b/gnome/readme.md @@ -3,7 +3,7 @@ using with gnome-extensions-cli, installed with python pip: ```bash -gnome-extensions-cli install `cat $DOTFILES/gnome/extentions.txt | grep -v '#' +gnome-extensions-cli install `cat $DOTFILES/gnome/extentions.txt | grep -v '#'` ``` maybe diff --git a/go/install b/go/install old mode 100755 new mode 100644 index 23f592f..8441a36 --- a/go/install +++ b/go/install @@ -1,3 +1 @@ #!/usr/bin/env zsh - -# installing by snap diff --git a/guake/config.dconf b/guake/config.dconf deleted file mode 100644 index 9ba78a6..0000000 --- a/guake/config.dconf +++ /dev/null @@ -1,47 +0,0 @@ -[general] -compat-delete='delete-sequence' -default-shell='/usr/bin/zsh' -display-n=-1 -display-tab-names=1 -fullscreen-hide-tabbar=false -gtk-use-system-default-theme=true -hide-tabs-if-one-tab=false -history-size=1000 -infinite-history=true -max-tab-name-length=100 -mouse-display=false -open-tab-cwd=true -prompt-on-close-tab=1 -prompt-on-quit=false -quick-open-command-line='code -g %(file_path)s:%(line_number)s' -quick-open-enable=true -quick-open-in-current-terminal=true -restore-tabs-notify=false -restore-tabs-startup=false -save-tabs-when-changed=false -scroll-keystroke=true -start-at-login=true -tab-close-buttons=true -use-audible-bell=true -use-default-font=true -use-login-shell=true -use-popup=false -use-scrollbar=true -use-trayicon=false -window-halignment=0 -window-height=100 -window-losefocus=false -window-refocus=true -window-tabbar=true -window-width=100 - -[keybindings/global] -show-hide='w' - -[style/background] -transparency=89 - -[style/font] -allow-bold=true -palette='#000000000000:#cccc00000000:#4e4e9a9a0606:#c4c4a0a00000:#34346565a4a4:#757550507b7b:#060698209a9a:#d3d3d7d7cfcf:#555557575353:#efef29292929:#8a8ae2e23434:#fcfce9e94f4f:#72729f9fcfcf:#adad7f7fa8a8:#3434e2e2e2e2:#eeeeeeeeecec:#ffffffffffff:#000000000000' -palette-name='Tango' diff --git a/homebrew/install b/homebrew/install old mode 100755 new mode 100644 diff --git a/homebrew/start b/homebrew/start old mode 100755 new mode 100644 diff --git a/install b/install old mode 100755 new mode 100644 diff --git a/nano/install b/nano/install old mode 100755 new mode 100644 diff --git a/ohmyposh/install b/ohmyposh/install old mode 100755 new mode 100644 diff --git a/ohmyposh/start b/ohmyposh/start old mode 100755 new mode 100644 diff --git a/ohmyzsh/functions/ohmyzsh_bundles_init b/ohmyzsh/functions/ohmyzsh_bundles_init old mode 100755 new mode 100644 diff --git a/ohmyzsh/functions/ohmyzsh_plugins_list b/ohmyzsh/functions/ohmyzsh_plugins_list old mode 100755 new mode 100644 diff --git a/ohmyzsh/install b/ohmyzsh/install old mode 100755 new mode 100644 diff --git a/ohmyzsh/start b/ohmyzsh/start old mode 100755 new mode 100644 diff --git a/python/install b/python/install new file mode 100644 index 0000000..49e7357 --- /dev/null +++ b/python/install @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +# shellcheck source=/dev/null +. "${DOTFILES}/zsh/functions/log" + +log starting "setting python" + +command -v python &>/dev/null || \ + log info "installing python" && \ + sudo apt-get install -y python-is-python3 1>/dev/null + +# sudo ln -sf /usr/bin/register-python-argcomplete3 /usr/bin/register-python-argcomplete diff --git a/python/diff.py b/python/scripts/diff.py similarity index 100% rename from python/diff.py rename to python/scripts/diff.py diff --git a/python/fix_trusted_gpg_warning.py b/python/scripts/fix_trusted_gpg_warning.py similarity index 100% rename from python/fix_trusted_gpg_warning.py rename to python/scripts/fix_trusted_gpg_warning.py diff --git a/python/my_gcal_cli/modd.conf b/python/scripts/my_gcal_cli/modd.conf similarity index 100% rename from python/my_gcal_cli/modd.conf rename to python/scripts/my_gcal_cli/modd.conf diff --git a/python/my_gcal_cli/my_gcal_cli.py b/python/scripts/my_gcal_cli/my_gcal_cli.py old mode 100644 new mode 100755 similarity index 100% rename from python/my_gcal_cli/my_gcal_cli.py rename to python/scripts/my_gcal_cli/my_gcal_cli.py diff --git a/python/my_gcal_cli/requirements.txt b/python/scripts/my_gcal_cli/requirements.txt similarity index 100% rename from python/my_gcal_cli/requirements.txt rename to python/scripts/my_gcal_cli/requirements.txt diff --git a/python/my_github_org_stats.py b/python/scripts/my_github_org_stats.py similarity index 100% rename from python/my_github_org_stats.py rename to python/scripts/my_github_org_stats.py diff --git a/raspbian/install.sh b/raspbian/install.sh old mode 100644 new mode 100755 diff --git a/starship/start b/starship/start old mode 100755 new mode 100644 index 640241d..bdc86dc --- a/starship/start +++ b/starship/start @@ -6,7 +6,7 @@ export STARSHIP_CONFIG="${DOTFILES}/starship/theme/pastel-powerline.toml" # export STARSHIP_CONFIG="${DOTFILES}/starship/theme/starship.toml.toml" -$SHELL_DEBUG && env STARSHIP_LOG=trace starship module rust -$SHELL_DEBUG && env STARSHIP_LOG=trace starship timings +$SHELL_TRACE && env STARSHIP_LOG=trace starship module rust +$SHELL_TRACE && env STARSHIP_LOG=trace starship timings eval "$(starship init zsh)" diff --git a/todo-txt/.todo.actions.d/add b/todo-txt/.todo.actions.d/add old mode 100755 new mode 100644 diff --git a/todo-txt/.todo.actions.d/top b/todo-txt/.todo.actions.d/top old mode 100755 new mode 100644 diff --git a/todo-txt/.todo.actions.d/topn b/todo-txt/.todo.actions.d/topn old mode 100755 new mode 100644 diff --git a/ubuntu-server/install.sh b/ubuntu-server/install.sh deleted file mode 100755 index 0fb7eb5..0000000 --- a/ubuntu-server/install.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env bash - -./pre-install - -# make pre - -echo "finish" diff --git a/zplug/install b/zplug/install old mode 100755 new mode 100644 diff --git a/zplug/start b/zplug/start old mode 100755 new mode 100644 index cbb44a2..0ccfcad --- a/zplug/start +++ b/zplug/start @@ -2,6 +2,8 @@ . "${DOTFILES}/zplug/install" +zplug clear + local plugins_list=($(zsh_plugins_list)) for p in $plugins_list; do diff --git a/zsh/init/10_debug.zsh b/zsh/init/10_debug.zsh old mode 100644 new mode 100755 diff --git a/zsh/init/30_go.zsh b/zsh/init/30_go.zsh old mode 100644 new mode 100755 diff --git a/zsh/init/40_git.zsh b/zsh/init/40_git.zsh old mode 100644 new mode 100755 diff --git a/zsh/init/50_todotxt.zsh b/zsh/init/50_todotxt.zsh old mode 100644 new mode 100755 diff --git a/zsh/init/60_theme.zsh b/zsh/init/60_theme.zsh old mode 100644 new mode 100755 diff --git a/zsh/init/misc.zsh b/zsh/init/misc.zsh old mode 100644 new mode 100755 index 2182d58..dc627ce --- a/zsh/init/misc.zsh +++ b/zsh/init/misc.zsh @@ -31,3 +31,5 @@ echo '{"x":'$(gsettings get org.gnome.shell enabled-extensions)'}' | \ tee "${SYNC_DOTFILES}/gnome_shell_extensions/${TIMESTAMP}.bkp" &>/dev/null weather_by_lat_lon + +unset sudo diff --git a/zsh/install b/zsh/install old mode 100755 new mode 100644 index 3e518cc..9d8b713 --- a/zsh/install +++ b/zsh/install @@ -3,7 +3,7 @@ command -v zsh >/dev/null || (echo 'you needs to install zsh before' && return) # find ~ -maxdepth 1 -name "*.bkp" -delete -find ~ -maxdepth 1 -name '.zcompdump*' -delete +# find ~ -maxdepth 1 -name '.zcompdump*' -delete local files=('.zlogin' '.zlogout' '.zprofile' '.zshenv' '.zshrc') for f in $files; do diff --git a/zsh/plugins.txt b/zsh/plugins.txt index 2c11948..f07e11c 100644 --- a/zsh/plugins.txt +++ b/zsh/plugins.txt @@ -1,6 +1,7 @@ b4b4r07/emoji-cli changyuheng/zsh-interactive-cd chrissicool/zsh-256color +desyncr/auto-ls djui/alias-tips fcambus/ansiweather HeroCC/LS_COLORS @@ -8,6 +9,7 @@ johanhaleby/kubetail laggardkernel/zsh-thefuck marlonrichert/zcolors mattmc3/zsh-safe-rm +rawkode/zsh-docker-run reegnz/jq-zsh-plugin se-jaeger/zsh-activate-py-environment wbingli/zsh-wakatime diff --git a/zsh/start b/zsh/start old mode 100755 new mode 100644