Compare commits
6 Commits
e33b91e7d9
...
2b967a697d
Author | SHA1 | Date |
---|---|---|
Luca Pellegrini | 2b967a697d | |
Luca Pellegrini | 8a9d74667a | |
Luca Pellegrini | 505d16ecbd | |
Luca Pellegrini | 9264be5081 | |
Luca Pellegrini | d382a6a168 | |
Luca Pellegrini | 8a32feab3a |
|
@ -35,18 +35,18 @@ alias root="cd /"
|
|||
alias ..="cd .."
|
||||
alias ...="cd ..; cd .."
|
||||
alias ....="cd ..; cd ..; cd .."
|
||||
# Cartelle in home e partizione Data
|
||||
# Directories in home and Data partition
|
||||
alias libri="cd $HOME/Libri"
|
||||
alias dendron-git="cd /Data/Dendron && git status"
|
||||
alias nextcloud="cd /Data/Nextcloud && la"
|
||||
alias python-lab="cd /Data/Git/python-lab && la"
|
||||
alias python-lezioni="cd /Data/Programmazione/python-lezioni && la"
|
||||
alias python-appunti="cd /Data/Programmazione/python-appunti && la"
|
||||
alias programmazione="cd /Data/Programmazione && la"
|
||||
|
||||
# Git
|
||||
alias g="git"
|
||||
alias add="git add"
|
||||
alias stat="git status"
|
||||
#alias stat="git status"
|
||||
alias commit="git commit"
|
||||
alias pull="git pull"
|
||||
alias push="git push"
|
||||
|
@ -60,3 +60,6 @@ alias python="python3"
|
|||
alias dolphin="dolphin --new-window"
|
||||
alias dendron="/usr/bin/codium --new-window /Data/Dendron/dendron.code-workspace"
|
||||
alias email="thunderbird"
|
||||
|
||||
# Custom neofetch
|
||||
alias neofetch="neofetch --source /home/luca/rog_ascii_logo.txt"
|
||||
|
|
|
@ -22,15 +22,15 @@ fi
|
|||
PATH="$PATH:/usr/local/sbin:/usr/sbin:/sbin"
|
||||
|
||||
# set PATH so it includes '~/AppImage' directory, if it exists
|
||||
if [ -d "$HOME/AppImage" ] ; then
|
||||
if [ -d "$HOME/AppImage" ]; then
|
||||
PATH="$HOME/AppImage:$PATH"
|
||||
fi
|
||||
|
||||
# set PATH so it includes user's private bin, if it exists
|
||||
if [ -d "$HOME/.local/bin" ] ; then
|
||||
if [ -d "$HOME/.local/bin" ]; then
|
||||
PATH="$HOME/.local/bin:$PATH"
|
||||
fi
|
||||
if [ -d "$HOME/bin" ] ; then
|
||||
if [ -d "$HOME/bin" ]; then
|
||||
PATH="$HOME/bin:$PATH"
|
||||
fi
|
||||
|
||||
|
@ -39,5 +39,16 @@ export XDG_CONFIG_HOME="$HOME/.config"
|
|||
export XDG_CACHE_HOME="$HOME/.cache"
|
||||
export XDG_DATA_HOME="$HOME/.local/share"
|
||||
|
||||
# XDG Desktop Portal
|
||||
#if [[ "$XDG_CURRENT_DESKTOP" == "KDE" ]]; then
|
||||
#export GTK_USE_PORTAL=1 # Make GTK apps use KDE's file chooser
|
||||
#fi
|
||||
|
||||
if [[ -n "$DISPLAY" || -n "$WAYLAND_DISPLAY" ]]; then
|
||||
export BROWSER=firefox
|
||||
else
|
||||
export BROWSER=
|
||||
fi
|
||||
|
||||
# Start ssh-agent in the background
|
||||
eval "$(ssh-agent -s)" > /dev/null
|
||||
|
|
|
@ -116,20 +116,3 @@ if ! shopt -oq posix; then
|
|||
. /etc/bash_completion
|
||||
fi
|
||||
fi
|
||||
|
||||
# Environment variables
|
||||
#if [ -n "$DISPLAY" ]; then
|
||||
# export EDITOR=xed
|
||||
#elif [ -n "$WAYLAND_DISPLAY" ]; then
|
||||
# export EDITOR=xed
|
||||
#else
|
||||
# export EDITOR=nano
|
||||
#fi
|
||||
|
||||
if [ -n "$DISPLAY" ]; then
|
||||
export BROWSER=firefox
|
||||
elif [ -n "$WAYLAND_DISPLAY" ]; then
|
||||
export BROWSER=firefox
|
||||
else
|
||||
export BROWSER=
|
||||
fi
|
||||
|
|
|
@ -0,0 +1,333 @@
|
|||
# Temporary files and directories
|
||||
prova**
|
||||
test**
|
||||
temp**
|
||||
output**
|
||||
*.log
|
||||
*.old
|
||||
*.tmp
|
||||
*.bak
|
||||
temp/
|
||||
tmp/
|
||||
old/
|
||||
|
||||
# Diff files
|
||||
*.patch
|
||||
*.diff
|
||||
|
||||
|
||||
## Python
|
||||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
|
||||
# C extensions
|
||||
*.so
|
||||
|
||||
# Distribution / packaging
|
||||
.Python
|
||||
build/
|
||||
develop-eggs/
|
||||
dist/
|
||||
downloads/
|
||||
eggs/
|
||||
.eggs/
|
||||
lib/
|
||||
lib64/
|
||||
parts/
|
||||
sdist/
|
||||
var/
|
||||
wheels/
|
||||
share/python-wheels/
|
||||
*.egg-info/
|
||||
.installed.cfg
|
||||
*.egg
|
||||
|
||||
# Virtual Environments
|
||||
.env
|
||||
.venv
|
||||
env/
|
||||
venv/
|
||||
ENV/
|
||||
env.bak/
|
||||
venv.bak/
|
||||
|
||||
# Translations
|
||||
*.mo
|
||||
*.pot
|
||||
|
||||
# Sphinx documentation
|
||||
docs/_build/
|
||||
|
||||
|
||||
## C++, Qt, CMake
|
||||
# Prerequisites
|
||||
*.d
|
||||
|
||||
# Compiled Object files
|
||||
*.slo
|
||||
*.lo
|
||||
*.o
|
||||
*.obj
|
||||
|
||||
# Precompiled Headers
|
||||
*.gch
|
||||
*.pch
|
||||
|
||||
# Compiled Dynamic libraries
|
||||
*.so
|
||||
*.so.*
|
||||
*.dylib
|
||||
*.dll
|
||||
|
||||
# Fortran module files
|
||||
*.mod
|
||||
*.smod
|
||||
|
||||
# Compiled Static libraries
|
||||
*.lai
|
||||
*.la
|
||||
*.a
|
||||
*.lib
|
||||
|
||||
# Executables
|
||||
*.exe
|
||||
*.out
|
||||
*.app
|
||||
|
||||
# CMake
|
||||
CMakeLists.txt.user*
|
||||
CMakeCache.txt
|
||||
CMakeFiles
|
||||
CMakeScripts
|
||||
Testing
|
||||
Makefile
|
||||
cmake_install.cmake
|
||||
install_manifest.txt
|
||||
compile_commands.json
|
||||
CTestTestfile.cmake
|
||||
_deps
|
||||
|
||||
# Qt-es
|
||||
object_script.*.Release
|
||||
object_script.*.Debug
|
||||
*_plugin_import.cpp
|
||||
/.qmake.cache
|
||||
/.qmake.stash
|
||||
*.pro.user
|
||||
*.pro.user.*
|
||||
*.qbs.user
|
||||
*.qbs.user.*
|
||||
*.moc
|
||||
moc_*.cpp
|
||||
moc_*.h
|
||||
qrc_*.cpp
|
||||
ui_*.h
|
||||
*.qmlc
|
||||
*.jsc
|
||||
Makefile*
|
||||
*build-*
|
||||
*.qm
|
||||
*.prl
|
||||
|
||||
# Qt unit tests
|
||||
target_wrapper.*
|
||||
|
||||
# QtCreator
|
||||
*.autosave
|
||||
|
||||
# QtCreator Qml
|
||||
*.qmlproject.user
|
||||
*.qmlproject.user.*
|
||||
|
||||
# QtCreator 4.8< compilation database
|
||||
compile_commands.json
|
||||
|
||||
# QtCreator local machine specific files for imported projects
|
||||
*creator.user*
|
||||
|
||||
*_qmlcache.qrc
|
||||
|
||||
|
||||
## Linux
|
||||
*~
|
||||
|
||||
# temporary files which can be created if a process still has a handle open of a deleted file
|
||||
.fuse_hidden*
|
||||
|
||||
# KDE directory preferences
|
||||
.directory
|
||||
|
||||
# Linux trash folder which might appear on any partition or disk
|
||||
.Trash-*
|
||||
|
||||
# .nfs files are created when an open file is removed but is still being accessed
|
||||
.nfs*
|
||||
|
||||
|
||||
## Windows
|
||||
# Windows thumbnail cache files
|
||||
Thumbs.db
|
||||
Thumbs.db:encryptable
|
||||
ehthumbs.db
|
||||
ehthumbs_vista.db
|
||||
|
||||
# Dump file
|
||||
*.stackdump
|
||||
|
||||
# Folder config file
|
||||
[Dd]esktop.ini
|
||||
|
||||
# Recycle Bin used on file shares
|
||||
$RECYCLE.BIN/
|
||||
|
||||
# Windows Installer files
|
||||
*.cab
|
||||
*.msi
|
||||
*.msix
|
||||
*.msm
|
||||
*.msp
|
||||
|
||||
# Windows shortcuts
|
||||
*.lnk
|
||||
|
||||
|
||||
## macOS
|
||||
.DS_Store
|
||||
.AppleDouble
|
||||
.LSOverride
|
||||
|
||||
|
||||
## Kate
|
||||
# Swap Files #
|
||||
.*.kate-swp
|
||||
.swp.*
|
||||
|
||||
|
||||
## Visual Studio Code
|
||||
.vscode/*
|
||||
!.vscode/settings.json
|
||||
!.vscode/tasks.json
|
||||
!.vscode/launch.json
|
||||
!.vscode/extensions.json
|
||||
!.vscode/*.code-snippets
|
||||
*.code-workspace
|
||||
|
||||
# Local History for Visual Studio Code
|
||||
.history/
|
||||
|
||||
# Built Visual Studio Code Extensions
|
||||
*.vsix
|
||||
|
||||
|
||||
## JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
|
||||
# User-specific stuff
|
||||
.idea/
|
||||
.idea/**/workspace.xml
|
||||
.idea/**/tasks.xml
|
||||
.idea/**/usage.statistics.xml
|
||||
.idea/**/dictionaries
|
||||
.idea/**/shelf
|
||||
|
||||
# AWS User-specific
|
||||
.idea/**/aws.xml
|
||||
|
||||
# Generated files
|
||||
.idea/**/contentModel.xml
|
||||
|
||||
# Sensitive or high-churn files
|
||||
.idea/**/dataSources/
|
||||
.idea/**/dataSources.ids
|
||||
.idea/**/dataSources.local.xml
|
||||
.idea/**/sqlDataSources.xml
|
||||
.idea/**/dynamic.xml
|
||||
.idea/**/uiDesigner.xml
|
||||
.idea/**/dbnavigator.xml
|
||||
|
||||
# Gradle
|
||||
.idea/**/gradle.xml
|
||||
.idea/**/libraries
|
||||
|
||||
# Gradle and Maven with auto-import
|
||||
# When using Gradle or Maven with auto-import, you should exclude module files,
|
||||
# since they will be recreated, and may cause churn. Uncomment if using
|
||||
# auto-import.
|
||||
# .idea/artifacts
|
||||
# .idea/compiler.xml
|
||||
# .idea/jarRepositories.xml
|
||||
# .idea/modules.xml
|
||||
# .idea/*.iml
|
||||
# .idea/modules
|
||||
# *.iml
|
||||
# *.ipr
|
||||
|
||||
# CMake
|
||||
cmake-build-*/
|
||||
|
||||
# Mongo Explorer plugin
|
||||
.idea/**/mongoSettings.xml
|
||||
|
||||
# File-based project format
|
||||
*.iws
|
||||
|
||||
# IntelliJ
|
||||
out/
|
||||
|
||||
# mpeltonen/sbt-idea plugin
|
||||
.idea_modules/
|
||||
|
||||
# JIRA plugin
|
||||
atlassian-ide-plugin.xml
|
||||
|
||||
# Cursive Clojure plugin
|
||||
.idea/replstate.xml
|
||||
|
||||
# SonarLint plugin
|
||||
.idea/sonarlint/
|
||||
|
||||
# Crashlytics plugin (for Android Studio and IntelliJ)
|
||||
com_crashlytics_export_strings.xml
|
||||
crashlytics.properties
|
||||
crashlytics-build.properties
|
||||
fabric.properties
|
||||
|
||||
# Editor-based Rest Client
|
||||
.idea/httpRequests
|
||||
|
||||
# Android studio 3.1+ serialized cache file
|
||||
.idea/caches/build_file_checksums.ser
|
||||
|
||||
|
||||
## MATLAB and Octave
|
||||
# Windows default autosave extension
|
||||
*.asv
|
||||
|
||||
# OSX / *nix default autosave extension
|
||||
*.m~
|
||||
|
||||
# Compiled MEX binaries (all platforms)
|
||||
*.mex*
|
||||
|
||||
# Packaged app and toolbox files
|
||||
*.mlappinstall
|
||||
*.mltbx
|
||||
|
||||
# Generated helpsearch folders
|
||||
helpsearch*/
|
||||
|
||||
# Simulink code generation folders
|
||||
slprj/
|
||||
sccprj/
|
||||
|
||||
# Matlab code generation folders
|
||||
codegen/
|
||||
|
||||
# Simulink autosave extension
|
||||
*.autosave
|
||||
|
||||
# Simulink cache files
|
||||
*.slxc
|
||||
|
||||
# Octave session info
|
||||
octave-workspace
|
|
@ -0,0 +1,16 @@
|
|||
${c2}
|
||||
..',;:ccc:'..
|
||||
.,cdk0KKXX0dc,.
|
||||
.:xKXXXXXOo;. ..','
|
||||
'oKXXXXKd;. ..,cdk0KK0x.
|
||||
.;kXXXX0l' .'cx0XXXKxl;.
|
||||
.c0XXXOl. .cxKXXXOo;...;lk'
|
||||
,. .lKXX0l. .,o0XXKxc'..;lkKXXX;
|
||||
.xd, .o:'. .oKXKd' .:xKXKx:..'cdxdoKXXXX;
|
||||
.dXO:. .xXKkolxXXx;. .ckKXkc'..',;,. .xXXXK'
|
||||
.:dko'.cXXXXKl. 'lOX0o,. . 'OXXXk.
|
||||
... .OXX. :OXXKc. .oKXXKc
|
||||
.c0d. .;lxOK0xol:;,'',cxKXXXd.
|
||||
,l;. ..,:ldkOKXXXXXOc.
|
||||
. ....
|
||||
|
|
@ -19,9 +19,9 @@ alias ll="ls -al -g -h"
|
|||
alias tree="ll --tree -L 3"
|
||||
|
||||
# Colorize grep output (good for log files)
|
||||
alias grep='grep --color=auto'
|
||||
alias egrep='egrep --color=auto'
|
||||
alias fgrep='fgrep --color=auto'
|
||||
alias grep="grep --color=auto"
|
||||
alias egrep="egrep --color=auto"
|
||||
alias fgrep="fgrep --color=auto"
|
||||
|
||||
# Confirm before overwriting something
|
||||
alias cp="cp -i"
|
||||
|
@ -29,32 +29,37 @@ alias mv='mv -i'
|
|||
alias rm='rm -i'
|
||||
|
||||
# Directories
|
||||
alias home='cd ~'
|
||||
alias data='cd /Data'
|
||||
alias root='cd /'
|
||||
alias ..='cd ..'
|
||||
alias ...='cd ..; cd ..'
|
||||
alias ....='cd ..; cd ..; cd ..'
|
||||
alias home="cd ~"
|
||||
alias data="cd /Data"
|
||||
alias root="cd /"
|
||||
alias ..="cd .."
|
||||
alias ...="cd ..; cd .."
|
||||
alias ....="cd ..; cd ..; cd .."
|
||||
# Directories in home and Data partition
|
||||
alias libri="cd $HOME/Libri"
|
||||
alias dendron-git="cd /Data/Dendron && git status"
|
||||
alias nextcloud="cd /Data/Nextcloud && la"
|
||||
alias python-lab="cd /Data/Git/python-lab && la"
|
||||
alias python-appunti="cd /Data/Programmazione/python-appunti && la"
|
||||
alias programmazione="cd /Data/Programmazione && la"
|
||||
|
||||
# Git
|
||||
alias g='git'
|
||||
alias g-ad='git add'
|
||||
alias g-st='git status'
|
||||
alias g-com='git commit'
|
||||
#alias g-pl='git pull'
|
||||
#alias g-ps='git push'
|
||||
alias g="git"
|
||||
alias add="git add"
|
||||
#alias stat="git status"
|
||||
alias commit="git commit"
|
||||
alias pull="git pull"
|
||||
alias push="git push"
|
||||
|
||||
# apt
|
||||
alias upgrade="sudo apt update && sudo apt upgrade"
|
||||
alias upgrade="sudo freshclam; sudo apt update && sudo apt upgrade"
|
||||
alias apt-info="apt show"
|
||||
|
||||
# Altri programmi usati di frequente
|
||||
alias python="python3"
|
||||
alias dolphin="dolphin --new-window"
|
||||
alias dendron="/usr/bin/codium --new-window /Data/Dendron/dendron.code-workspace"
|
||||
alias email="thunderbird"
|
||||
|
||||
# Custom neofetch
|
||||
alias neofetch="neofetch --source /home/luca/rog_ascii_logo.txt"
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,25 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Categories=Development;
|
||||
Comment[it]=Lezioni di programmazione in Python (VSCodium Workspace)
|
||||
Comment=Lezioni di programmazione in Python (VSCodium Workspace)
|
||||
Exec=codium --new-window /Data/Programmazione/python-lezioni/python-lezioni.code-workspace
|
||||
GenericName[it]=
|
||||
GenericName=
|
||||
Hidden=false
|
||||
Icon=/home/luca/.icons/python.png
|
||||
MimeType=
|
||||
Name[it]=Python-Lezioni (workspace)
|
||||
Name=Python-Lezioni (workspace)
|
||||
NoDisplay=false
|
||||
Path=
|
||||
StartupNotify=true
|
||||
Terminal=false
|
||||
TerminalOptions=
|
||||
Type=Application
|
||||
Keywords[it]=python;
|
||||
Keywords=python;
|
||||
X-DBUS-ServiceName=
|
||||
X-DBUS-StartupType=
|
||||
X-KDE-RunOnDiscreteGpu=false
|
||||
X-KDE-SubstituteUID=false
|
||||
X-KDE-Username=
|
|
@ -1,25 +0,0 @@
|
|||
# Miei repository Git
|
||||
~/Git/file.desktop/
|
||||
* remote: github.com/luca-pellegrini/file.desktop.git
|
||||
* ssh: git@github.com:luca-pellegrini/file.desktop.git
|
||||
|
||||
~/Git/python-lab/
|
||||
* remote: github.com/luca-pellegrini/python-lab.git
|
||||
* ssh: git@github.com:luca-pellegrini/python-lab.git
|
||||
|
||||
~/Git/linux-post-install/
|
||||
* remote: git.disroot.org/luca-pellegrini/linux-post-install.git
|
||||
* ssh: git@git.disroot.org:luca-pellegrini/linux-post-install.git
|
||||
|
||||
/Data/Dendron/
|
||||
* remote: git.disroot.org/luca-pellegrini/dendron.git
|
||||
* ssh: git@git.disroot.org:luca-pellegrini/dendron.git
|
||||
|
||||
## Git directory
|
||||
~/Git -> /Data/Git/
|
||||
|
||||
# SSH pub key
|
||||
~/.ssh/git.pub (Git repos on github.com, git.disroot.org)
|
||||
|
||||
# AppImage directory
|
||||
~/AppImage -> /Data/AppImage/
|
Loading…
Reference in New Issue