Compare commits
5 Commits
a5cfb44c1c
...
26f256c5d2
Author | SHA1 | Date | |
---|---|---|---|
26f256c5d2 | |||
6edce6ed61 | |||
4583c497e8 | |||
c8d617c41b | |||
552675eb7a |
@ -22,6 +22,22 @@
|
||||
"args": ["start"],
|
||||
"filetypes": ["sh"],
|
||||
"ignoredRootPaths": ["~"]
|
||||
},
|
||||
"ccls": {
|
||||
"command": "ccls",
|
||||
"filetypes": ["c", "cpp", "objc", "objcpp"],
|
||||
"rootPatterns": [
|
||||
".ccls",
|
||||
"compile_commands.json",
|
||||
".vim/",
|
||||
".git/",
|
||||
".hg/"
|
||||
],
|
||||
"initializationOptions": {
|
||||
"cache": {
|
||||
"directory": "/tmp/ccls"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"solargraph.commandPath": "~/.gem/ruby/2.6.0/bin/solargraph",
|
||||
|
@ -75,6 +75,9 @@ call plug#begin('~/.config/nvim/plugged')
|
||||
" coc-diagnostic
|
||||
Plug 'iamcco/coc-diagnostic'
|
||||
|
||||
" coc-cpp coc-c
|
||||
" emerge dev-util/ccls
|
||||
|
||||
" Enable gentoo-syntax in vim
|
||||
Plug 'gentoo/gentoo-syntax'
|
||||
Plug 'tpope/vim-commentary'
|
||||
|
23
.local/bin/Logc
Executable file
23
.local/bin/Logc
Executable file
@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
NUMBER="-1"
|
||||
|
||||
while true
|
||||
do
|
||||
clear
|
||||
|
||||
LOGS=( $(sudo find /var/tmp/portage/ -mindepth 1 -maxdepth 5 -name "build.log") $(sudo find /var/tmpnotmpfs/portage/ -mindepth 1 -maxdepth 5 -name "build.log") )
|
||||
LEN=${#LOGS[@]}
|
||||
|
||||
for (( i=0; i<$LEN; i++ ));
|
||||
do
|
||||
echo "$(( $i + 1 )) - ${LOGS[$i]}"
|
||||
done
|
||||
|
||||
echo
|
||||
read -rsp $'Select number to show logs...\n' -t2 -n1 NUMBER
|
||||
|
||||
[[ $NUMBER -gt 0 ]] && break
|
||||
done
|
||||
|
||||
echo -e "\n\e[93m File: ${LOGS[$NUMBER-1]} \e[0m\n"
|
||||
sudo cat ${LOGS[$NUMBER-1]}
|
@ -1 +0,0 @@
|
||||
emerge-logs
|
23
.local/bin/Logs
Executable file
23
.local/bin/Logs
Executable file
@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
NUMBER="-1"
|
||||
|
||||
while true
|
||||
do
|
||||
clear
|
||||
|
||||
LOGS=( $(sudo find /var/tmp/portage/ -mindepth 1 -maxdepth 5 -name "build.log") $(sudo find /var/tmpnotmpfs/portage/ -mindepth 1 -maxdepth 5 -name "build.log") )
|
||||
LEN=${#LOGS[@]}
|
||||
|
||||
for (( i=0; i<$LEN; i++ ));
|
||||
do
|
||||
echo "$(( $i + 1 )) - ${LOGS[$i]}"
|
||||
done
|
||||
|
||||
echo
|
||||
read -rsp $'Select number to show logs...\n' -t2 -n1 NUMBER
|
||||
|
||||
[[ $NUMBER -gt 0 ]] && break
|
||||
done
|
||||
|
||||
echo -e "\n\e[93m File: ${LOGS[$NUMBER-1]} \e[0m\n"
|
||||
sudo tail -f ${LOGS[$NUMBER-1]}
|
@ -1,13 +0,0 @@
|
||||
#!/bin/bash
|
||||
LOGS=( $(sudo find /var/tmp/portage/ -mindepth 1 -maxdepth 5 -name "build.log") $(sudo find /var/tmpnotmpfs/portage/ -mindepth 1 -maxdepth 5 -name "build.log") )
|
||||
LEN=${#LOGS[@]}
|
||||
|
||||
for (( i=0; i<$LEN; i++ ));
|
||||
do
|
||||
echo "$(( $i + 1 )) - ${LOGS[$i]}"
|
||||
done
|
||||
|
||||
echo
|
||||
read -p 'Select number to show logs: ' NUMBER
|
||||
|
||||
sudo tail -f ${LOGS[$NUMBER-1]}
|
1
.xinitrc
1
.xinitrc
@ -24,6 +24,7 @@ QT_SCALE_FACTOR=1.5 keepassxc &
|
||||
sudo /usr/bin/rdate -s ntp.task.gda.pl && sudo /sbin/hwclock --systohc
|
||||
megasync &
|
||||
ibus-daemon&
|
||||
quasselclient&
|
||||
|
||||
# Two monitors are enabled?
|
||||
if [[ $(mons | awk '/Monitors/{print $2}') = 2 ]]
|
||||
|
Loading…
x
Reference in New Issue
Block a user