Inital Repository & Add alias

Inital this repo in unlicense.

Create README and add some content.

Add 2 alias.
This commit is contained in:
INX "Xenon" 2025-02-26 19:46:02 +08:00
commit a907d42d89
Signed by: inx
SSH key fingerprint: SHA256:oEFbclBdeqw4M09C3hfnDej0ioZdzZW6BKxsZH6quX8
4 changed files with 73 additions and 0 deletions

24
LICENSE Normal file
View file

@ -0,0 +1,24 @@
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to <https://unlicense.org/>

20
README Normal file
View file

@ -0,0 +1,20 @@
==========
DOTFILES
==========
Some of my dotfiles...
You can refer to and/or use my dotfiles freely.
==========
Usage
==========
> git clone https://git.inx.wf/inx/dotfiles.git:.dotfiles
Then, edit your .bashrc and append this line.
> source .dotfiles/enable
And enjoy. Better refer to each .sh file to check what thing I did.

24
alias.sh Normal file
View file

@ -0,0 +1,24 @@
#!/bin/sh
# Some personally preferred alias
# 1. pwdssh
# pwdssh is a quick way to use ssh with no public key authentications would be
# tried. I use this alias to connect to machines I didn't configure the public
# key login. Due to the sshd only allows 5 tries of login, my 1Password vault
# just can't try them all until the exact one was chosen ( I haven't configure
# the SSH Bookmarks, which would resolve this problem). So I choose this alias
# as my prefixed ssh to login with only password.
alias pwdssh='ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no '
# 2. dolphon
# I use archlinux on my computer. And just as the tutorial did, I use KDE Pla-
# sma as my desktop environment. But use dophin(GUI file explorer) as root is
# kinda difficult. Only use "sudo dolphin" will prompt you that you should use
# "dolphin --sudo" directly, but when you run the last one you need to install
# kio-admin. So after seeking some of websites, I found this way to run dol-
# phin with root permission(and without install kio-admin).
alias dolphon='pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY KDE_SESSION_VERSION=5 KDE_FULL_SESSION=true dolphin'

5
enable Normal file
View file

@ -0,0 +1,5 @@
#/bin/sh
source alias.sh